2024-11-03 21:33:08 +01:00
|
|
|
{
|
|
|
|
"compilerOptions": {
|
|
|
|
// Enable latest features
|
|
|
|
"lib": ["ESNext", "DOM", "DOM.Iterable"],
|
|
|
|
"target": "ESNext",
|
|
|
|
"module": "ESNext",
|
|
|
|
"moduleDetection": "force",
|
|
|
|
"allowJs": true,
|
|
|
|
|
|
|
|
// Bundler mode
|
|
|
|
"moduleResolution": "bundler",
|
|
|
|
"allowImportingTsExtensions": true,
|
|
|
|
"verbatimModuleSyntax": true,
|
|
|
|
"noEmit": true,
|
|
|
|
|
|
|
|
// Best practices
|
|
|
|
"strict": true,
|
|
|
|
"skipLibCheck": true,
|
|
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
|
|
|
|
// Some stricter flags (disabled by default)
|
|
|
|
"noUnusedLocals": false,
|
|
|
|
"noUnusedParameters": false,
|
2024-12-20 23:29:45 +01:00
|
|
|
"noPropertyAccessFromIndexSignature": false,
|
|
|
|
"include": [
|
|
|
|
"globals.d.ts"
|
|
|
|
]
|
2024-11-03 21:33:08 +01:00
|
|
|
}
|
|
|
|
}
|