-
Notifications
You must be signed in to change notification settings - Fork 17
/
tsconfig.json
31 lines (30 loc) · 996 Bytes
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"compilerOptions": {
"lib": [ "ES2022" ],
"module": "node16",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"moduleResolution": "node16",
// Target latest version of ECMAScript.
"target": "ES2022",
// Don't parse types from JS as TS doesn't play well with Flow-ish JS.
"allowJs": false,
// Don't emit; allow Babel to transform files.
"noEmit": true,
// Can't checkJs if we don't allowJs, so this remains false
"checkJs": false,
// Disallow features that require cross-file information for emit as we're using Babel
"isolatedModules": true,
"resolveJsonModule": true,
"baseUrl": ".",
"paths": {
"*": [ "./types/*", "./node_modules/@types/node/*" ]
},
// It's worth enabling this, I promise!
"noImplicitAny": true
},
"include": [ "src", "helpers", "config", "__tests__", "__fixtures__" ],
"exclude": [ "**/*.js", "codegen.ts" ]
}