/ tsconfig.json
tsconfig.json
1 { 2 "extends": "./.svelte-kit/tsconfig.json", 3 "compilerOptions": { 4 "lib": [ 5 "ESNext" 6 ], 7 "target": "ESNext", 8 "module": "ESNext", 9 "moduleDetection": "force", 10 "allowJs": true, 11 // Bundler mode 12 "moduleResolution": "bundler", 13 "allowImportingTsExtensions": true, 14 "verbatimModuleSyntax": true, 15 "noEmit": true, 16 // Best practices 17 "strict": true, 18 "skipLibCheck": true, 19 "noFallthroughCasesInSwitch": true, 20 // Some stricter flags 21 "noUnusedLocals": true, 22 "noUnusedParameters": true, 23 "noPropertyAccessFromIndexSignature": true 24 } 25 // Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias 26 // except $lib which is handled by https://svelte.dev/docs/kit/configuration#files 27 // 28 // If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes 29 // from the referenced tsconfig.json - TypeScript does not merge them in 30 }