rework tsconfigs so tsc now works again

This commit is contained in:
2025-07-23 10:27:45 +01:00
parent 7489c4f52d
commit 150343ac14
5 changed files with 37 additions and 132 deletions

View File

@@ -1,28 +1,7 @@
{
"compilerOptions": {
// Environment setup & latest features
"lib": ["ESNext"],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,
// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,
// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
// Some stricter flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false
}
"files": [],
"references": [
{ "path": "./tsconfig.bot.json" },
{ "path": "./tsconfig.chatwidget.json" }
]
}