Use modern template

This commit is contained in:
2026-01-22 10:26:18 +01:00
parent 56fab67974
commit f338e82e72
10 changed files with 123 additions and 34 deletions
+8 -26
View File
@@ -1,32 +1,14 @@
{
"compilerOptions": {
// Enable latest features
"lib": ["ESNext","dom"],
"target": "ESNext",
"target": "ES2020",
"module": "ESNext",
"moduleDetection": "force",
"allowJs": true,
"checkJs": true,
// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,
// Best practices
"moduleResolution": "node",
"declaration": true,
"outDir": "dist",
"rootDir": "./src",
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
// Some stricter flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"forceConsistentCasingInFileNames": true,
"noPropertyAccessFromIndexSignature": false
"esModuleInterop": true,
"skipLibCheck": true
},
"include": [
"index.ts",
]
"include": ["src"]
}