Files
bun.sh/tsconfig.base.json
2024-12-10 12:43:17 -08:00

39 lines
875 B
JSON

{
"compilerOptions": {
"composite": true,
// Enable latest features
"lib": ["ESNext"],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,
"resolveJsonModule": true,
// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
// TODO: enable this
// "verbatimModuleSyntax": true,
"noEmit": true,
// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
"isolatedModules": true,
// Stricter type-checking
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false,
"noImplicitAny": false,
"noImplicitThis": false,
// Enable decorators
"experimentalDecorators": true,
"emitDecoratorMetadata": true
}
}