-
Notifications
You must be signed in to change notification settings - Fork 39
/
tsconfig.json
43 lines (36 loc) · 1.62 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
{
"compilerOptions": {
/* Type Checking */
"allowUnreachableCode": false,
"strict": true,
"useUnknownInCatchVariables": false,
"forceConsistentCasingInFileNames": true, // Disallow inconsistently-cased references to the same file
"noUnusedLocals": true, // Report errors on unused locals
"noUnusedParameters": true, // Report errors on unused parameters
"noImplicitReturns": true, // Report errors on fallthrough cases in switch statements
"noFallthroughCasesInSwitch": true, // Report errors on fallthrough cases in switch statements
"strictNullChecks": true, // Enable strict null checks
"strictFunctionTypes": true, // Enable strict checking of function types
"strictPropertyInitialization": true, // Ensure non-undefined class properties are initialized in the constructor
/* Modules */
"module": "NodeNext",
"moduleResolution": "NodeNext",
"resolveJsonModule": true,
/* Emit */
"declaration": true,
"declarationMap": true,
"sourceMap": true,
/* Interop Constraints */
"esModuleInterop": true,
/* Javascript support */
"allowJs": true /* TODO: We should not need to allow JS files (we could have full TS) */,
/* Language and Environment */
"target": "ESNext" /* TODO: Review if we can use a defined target like ES2020 */,
"lib": ["ESNext"], // Include the latest ECMAScript library
"types": ["node"], // Include type definitions for Node.js
/* Completeness */
"skipLibCheck": true /* TODO: Should be removed when code is fixed */,
"isolatedModules": true,
"incremental": true // Enable incremental compilation
}
}