2021-10-08 23:36:46 +02:00
|
|
|
{
|
|
|
|
"compilerOptions": {
|
2024-07-13 13:49:06 +02:00
|
|
|
// Enable latest features
|
2024-08-08 13:22:47 +02:00
|
|
|
"lib": ["ESNext", "DOM", "DOM.Iterable"],
|
2024-07-13 13:49:06 +02:00
|
|
|
"target": "ESNext",
|
|
|
|
"module": "ESNext",
|
2024-08-08 13:22:47 +02:00
|
|
|
"moduleDetection": "force",
|
|
|
|
"allowJs": true,
|
2024-07-13 13:49:06 +02:00
|
|
|
// Bundler mode
|
2024-08-08 13:22:47 +02:00
|
|
|
"moduleResolution": "node",
|
2024-07-13 13:49:06 +02:00
|
|
|
// Best practices
|
|
|
|
"strict": true,
|
|
|
|
"skipLibCheck": true,
|
2024-08-08 13:22:47 +02:00
|
|
|
"strictPropertyInitialization": false,
|
|
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
// Some stricter flags (enabled)
|
|
|
|
"noUnusedLocals": true,
|
|
|
|
"noUnusedParameters": true,
|
|
|
|
"noPropertyAccessFromIndexSignature": true,
|
|
|
|
"declaration": true,
|
|
|
|
"declarationMap": true,
|
|
|
|
// Additional improvements
|
|
|
|
"esModuleInterop": true,
|
|
|
|
"resolveJsonModule": true,
|
|
|
|
"forceConsistentCasingInFileNames": true,
|
|
|
|
"useDefineForClassFields": true,
|
|
|
|
"rootDir": "./src",
|
|
|
|
"outDir": "./dist"
|
|
|
|
}
|
2021-10-08 23:36:46 +02:00
|
|
|
}
|