Files
bun.sh/packages/bun-plugin-svelte/tsconfig.json

35 lines
823 B
JSON

{
"compilerOptions": {
// Enable latest features
"lib": ["ESNext", "DOM"],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"jsx": "react-jsx",
// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"emitDeclarationOnly": true,
// Best practices
"strict": true,
"strictNullChecks": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
"stripInternal": true,
// thank you Titian
"isolatedDeclarations": true,
"declaration": true,
"declarationMap": true,
// Some stricter flags (disabled by default)
"noImplicitAny": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false
}
}