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>
This commit is contained in:
Justin Edmund 2025-12-01 02:27:52 -08:00
parent 39b1ed9f64
commit b32963b9a6

View file

@ -26,7 +26,8 @@
// Avoid "paths" hereSvelteKit 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"]
}
// 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
}