hensei-web/tsconfig.json
Justin Edmund b32963b9a6 tsconfig: fix env types by not overriding include
Let .svelte-kit/tsconfig.json handle includes so ambient.d.ts
with $env types is properly included.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 02:27:52 -08:00

33 lines
953 B
JSON

{
"extends": "./.svelte-kit/tsconfig.json",
// Only put things here that you truly want to override globally.
"compilerOptions": {
/* Strictness */
"strict": true,
"noUncheckedIndexedAccess": 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.
}
// Note: Don't override "include" here - let .svelte-kit/tsconfig.json handle it
// so that ambient.d.ts (which contains $env types) is properly included
}