tsconfig.json•873 B
{
"compilerOptions": {
// Environment setup & latest features
"lib": [
"esnext"
],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,
// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": false,
"verbatimModuleSyntax": true,
// Output configuration
"outDir": "./dist",
"rootDir": "./src",
"noEmit": false,
"sourceMap": true,
// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
// Some stricter flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false
},
"include": [
"**/*.ts"
],
"exclude": [
"node_modules",
"dist"
]
}