|
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": [], |
10 | 20 |
|
11 | 21 | /* Language and Environment */ |
12 | | - "target": "es6", |
| 22 | + "lib": ["ES2022", "DOM"], |
| 23 | + "moduleDetection": "force", |
| 24 | + "target": "ES2022", |
| 25 | + |
| 26 | + /* Output Formatting */ |
| 27 | + "noErrorTruncation": true, |
13 | 28 |
|
14 | 29 | /* Emit */ |
15 | 30 | "declaration": true, |
16 | 31 | "declarationMap": true, |
17 | 32 | "importHelpers": true, |
| 33 | + "inlineSources": true, |
| 34 | + "outDir": "lib", |
18 | 35 | "sourceMap": true, |
19 | | - "outDir": "./lib", |
20 | 36 |
|
21 | 37 | /* Interop Constraints */ |
22 | | - "esModuleInterop": true |
| 38 | + // "erasableSyntaxOnly": true, |
| 39 | + "esModuleInterop": true, |
| 40 | + "isolatedDeclarations": true, |
| 41 | + "isolatedModules": true, |
| 42 | + "verbatimModuleSyntax": true, |
| 43 | + |
| 44 | + /* Completeness */ |
| 45 | + "skipLibCheck": true |
23 | 46 | }, |
24 | | - "exclude": [ |
25 | | - "src/**/*.test.ts", |
26 | | - ], |
27 | 47 | "include": ["./src"] |
28 | 48 | } |
0 commit comments