|
1 | 1 | {
|
2 | 2 | "compilerOptions": {
|
3 | 3 | /* Type checking */
|
| 4 | + // "exactOptionalPropertyTypes": true, |
| 5 | + "forceConsistentCasingInFileNames": true, |
| 6 | + "noFallthroughCasesInSwitch": true, |
| 7 | + "noImplicitOverride": true, |
| 8 | + "noImplicitReturns": true, |
| 9 | + // "noUncheckedIndexedAccess": true, |
| 10 | + "noPropertyAccessFromIndexSignature": true, |
| 11 | + "noUnusedLocals": true, |
| 12 | + "noUnusedParameters": true, |
4 | 13 | "strict": true,
|
5 | 14 |
|
6 | 15 | /* Modules */
|
7 |
| - "module": "esnext", |
8 |
| - "moduleResolution": "node", |
9 |
| - "rootDir": "./src", |
| 16 | + "module": "NodeNext", |
| 17 | + "moduleResolution": "NodeNext", |
| 18 | + "noUncheckedSideEffectImports": true, |
| 19 | + "types": [], |
| 20 | + "rootDir": "src", |
10 | 21 |
|
11 | 22 | /* Language and Environment */
|
12 |
| - "target": "es6", |
| 23 | + "lib": ["ES2022", "DOM"], |
| 24 | + "moduleDetection": "force", |
| 25 | + "target": "ES2022", |
| 26 | + |
| 27 | + /* Projects */ |
| 28 | + "incremental": true, |
| 29 | + |
| 30 | + /* Output Formatting */ |
| 31 | + "noErrorTruncation": true, |
13 | 32 |
|
14 | 33 | /* Emit */
|
15 | 34 | "declaration": true,
|
16 | 35 | "declarationMap": true,
|
17 | 36 | "importHelpers": true,
|
| 37 | + "inlineSources": true, |
| 38 | + "outDir": "lib", |
18 | 39 | "sourceMap": true,
|
19 |
| - "outDir": "./lib", |
20 | 40 |
|
21 | 41 | /* Interop Constraints */
|
22 |
| - "esModuleInterop": true |
| 42 | + // "erasableSyntaxOnly": true, |
| 43 | + "esModuleInterop": true, |
| 44 | + "isolatedDeclarations": true, |
| 45 | + "isolatedModules": true, |
| 46 | + "verbatimModuleSyntax": true, |
| 47 | + |
| 48 | + /* Completeness */ |
| 49 | + "skipLibCheck": true |
23 | 50 | },
|
24 |
| - "exclude": [ |
25 |
| - "src/**/*.test.ts", |
26 |
| - ], |
| 51 | + "exclude": ["src/**/*.test.ts"], |
27 | 52 | "include": ["./src"]
|
28 | 53 | }
|
0 commit comments