From 0e37c39933201eb4a73ca9ae6b563bbc82b679ce Mon Sep 17 00:00:00 2001 From: Kato Hiroki Date: Sat, 18 Apr 2026 14:14:04 +0000 Subject: [PATCH 1/2] chore: add vitest/globals and node types to tsconfig.json Co-Authored-By: Claude Sonnet 4.6 --- tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tsconfig.json b/tsconfig.json index 552e21bc4..cd516ec29 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,6 +13,7 @@ "skipLibCheck": true, "sourceMap": true, "strict": true, + "types": ["node", "vitest/globals"], // Note: "node" is required to avoid overwriting the "types" field from the referenced tsconfig.json, which includes "svelte" and "svelte/types/runtime" "verbatimModuleSyntax": true }, // Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias From eef9a741b4ff2de435b48227d2f3c14dd0a38a54 Mon Sep 17 00:00:00 2001 From: Kato Hiroki Date: Sat, 18 Apr 2026 14:23:16 +0000 Subject: [PATCH 2/2] chore: clarify tsconfig types comment Co-Authored-By: Claude Sonnet 4.6 --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index cd516ec29..08bb78925 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,7 +13,7 @@ "skipLibCheck": true, "sourceMap": true, "strict": true, - "types": ["node", "vitest/globals"], // Note: "node" is required to avoid overwriting the "types" field from the referenced tsconfig.json, which includes "svelte" and "svelte/types/runtime" + "types": ["node", "vitest/globals"], // Note: "node" is required because "types" is replaced (not merged) when extending tsconfig "verbatimModuleSyntax": true }, // Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias