mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
39 lines
875 B
JSON
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
|
|
}
|
|
}
|