2022-07-15 17:38:13 +02:00
|
|
|
{
|
|
|
|
"compilerOptions": {
|
2024-08-08 11:43:57 +02:00
|
|
|
// Enable latest features
|
|
|
|
"lib": ["ESNext", "DOM", "DOM.Iterable"],
|
|
|
|
"target": "ESNext",
|
|
|
|
"module": "ESNext",
|
|
|
|
"moduleDetection": "force",
|
|
|
|
"allowJs": true,
|
|
|
|
// Bundler mode
|
|
|
|
"moduleResolution": "node",
|
|
|
|
// Best practices
|
|
|
|
"strict": true,
|
|
|
|
"skipLibCheck": true,
|
|
|
|
"strictPropertyInitialization": false,
|
|
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
// Some stricter flags
|
|
|
|
"noUnusedLocals": true,
|
|
|
|
"noUnusedParameters": true,
|
|
|
|
"noPropertyAccessFromIndexSignature": true,
|
|
|
|
"declaration": true,
|
|
|
|
"declarationMap": true,
|
|
|
|
// Additional improvements
|
|
|
|
"esModuleInterop": true,
|
|
|
|
"resolveJsonModule": true,
|
|
|
|
"forceConsistentCasingInFileNames": true,
|
|
|
|
"useDefineForClassFields": true,
|
|
|
|
"rootDir": "./src",
|
|
|
|
"outDir": "./dist"
|
2022-07-15 17:38:13 +02:00
|
|
|
}
|
|
|
|
}
|