33 lines
900 B
JSON
33 lines
900 B
JSON
{
|
|
"extends": "./.svelte-kit/tsconfig.json",
|
|
|
|
// Only put things here that you truly want to override globally.
|
|
"compilerOptions": {
|
|
/* Strictness */
|
|
"strict": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"exactOptionalPropertyTypes": true,
|
|
"useUnknownInCatchVariables": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
|
|
/* Module resolution for Vite/SvelteKit */
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
|
|
/* JS interop (keep if you import CJS libs) */
|
|
"esModuleInterop": true,
|
|
|
|
/* JS files (keep if you have any .js) */
|
|
"allowJs": true,
|
|
"checkJs": false,
|
|
|
|
/* Build ergonomics */
|
|
"skipLibCheck": true,
|
|
"sourceMap": true
|
|
|
|
// Avoid "paths" here—SvelteKit manages them via svelte.config.js -> kit.alias
|
|
// Adding "paths" would override $app/* & $lib/* from the generated config.
|
|
},
|
|
|
|
"include": ["src/**/*.svelte", "src/**/*.ts", "src/**/*.d.ts"]
|
|
}
|