1 |
{ |
2 |
"compilerOptions": { |
3 |
// Enable latest features |
4 |
"lib": ["ESNext", "DOM"], |
5 |
"target": "ESNext", |
6 |
"module": "ESNext", |
7 |
"moduleDetection": "force", |
8 |
"moduleResolution": "Node", |
9 |
"resolveJsonModule": true, |
10 |
|
11 |
// Bundler mode |
12 |
"allowImportingTsExtensions": false, |
13 |
"verbatimModuleSyntax": true, |
14 |
"noEmit": true, |
15 |
|
16 |
// Best practices |
17 |
"strict": true, |
18 |
"skipLibCheck": true, |
19 |
"noFallthroughCasesInSwitch": true, |
20 |
|
21 |
// Some stricter flags (disabled by default) |
22 |
"noUnusedLocals": false, |
23 |
"noUnusedParameters": false, |
24 |
"noPropertyAccessFromIndexSignature": false, |
25 |
"noImplicitOverride": true, |
26 |
"noImplicitThis": true, |
27 |
"esModuleInterop": true, |
28 |
"experimentalDecorators": true, |
29 |
"emitDecoratorMetadata": true |
30 |
} |
31 |
} |