|
1 | 1 | { |
2 | 2 | // For more information on theses keys, see https://www.typescriptlang.org/tsconfig/ |
3 | 3 | "compilerOptions": { |
4 | | - // Disabled because configDir is in beta https://github.com/microsoft/TypeScript/releases/tag/v5.5-beta |
5 | | - // "outDir": "${configDir}/dist", |
| 4 | + "outDir": "${configDir}/dist", |
6 | 5 |
|
7 | | - "module": "node16", |
8 | | - "moduleResolution": "node16", |
| 6 | + "module": "node18", |
9 | 7 | "moduleDetection": "force", |
10 | | - "target": "es2022", |
| 8 | + "target": "es2024", |
11 | 9 |
|
12 | | - "resolveJsonModule": false, // ESM doesn't support JSON modules. |
13 | 10 | "declaration": true, |
14 | | - "sourceMap": true, |
15 | | - "stripInternal": true, |
16 | | - "strict": true, |
17 | | - "noImplicitReturns": true, |
| 11 | + "erasableSyntaxOnly": true, |
| 12 | + "forceConsistentCasingInFileNames": true, |
| 13 | + |
| 14 | + "noEmitOnError": true, |
| 15 | + "noFallthroughCasesInSwitch": true, |
18 | 16 | "noImplicitOverride": true, |
| 17 | + "noImplicitReturns": true, |
| 18 | + "noPropertyAccessFromIndexSignature": true, |
| 19 | + "noUncheckedIndexedAccess": true, |
| 20 | + "noUncheckedSideEffectImports": true, |
19 | 21 | "noUnusedLocals": true, |
20 | 22 | "noUnusedParameters": true, |
21 | | - "noFallthroughCasesInSwitch": true, |
22 | | - "noUncheckedIndexedAccess": true, |
23 | | - "noPropertyAccessFromIndexSignature": true, |
24 | | - "noEmitOnError": true, |
25 | | - "forceConsistentCasingInFileNames": true, |
26 | | - "skipLibCheck": true |
| 23 | + |
| 24 | + "resolveJsonModule": false, // ESM doesn't support JSON modules. |
| 25 | + "rewriteRelativeImportExtensions": true, |
| 26 | + "skipLibCheck": true, |
| 27 | + "sourceMap": true, |
| 28 | + |
| 29 | + "strict": true, |
| 30 | + "stripInternal": true, |
| 31 | + |
| 32 | + "verbatimModuleSyntax": true, |
27 | 33 | } |
28 | 34 | } |
0 commit comments