From b32963b9a6a893027f119d551b0dfbaf86687ff5 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Mon, 1 Dec 2025 02:27:52 -0800 Subject: [PATCH] tsconfig: fix env types by not overriding include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- tsconfig.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 40eb71f2..bbc6c9df 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -26,7 +26,8 @@ // 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"] + // 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 }