Skip to content

Commit 96d4dd4

Browse files
KATO-Hiroclaude
andcommitted
fix(tsconfig): include root config files for type checking
playwright.config.ts などのルート直下の .config.ts ファイルを TypeScript の型チェック対象に含める。これにより process グローバルが認識される。 Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
1 parent 96f4979 commit 96d4dd4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
//
2121
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
2222
// from the referenced tsconfig.json - TypeScript does not merge them in
23-
"include": ["src/**/*.d.ts", "src/*", "src/**/*.ts", "src/**/*.svelte", "prisma/**/*.ts"],
23+
"include": ["src/**/*.d.ts", "src/*", "src/**/*.ts", "src/**/*.svelte", "prisma/**/*.ts", "*.config.ts"],
2424
"exclude": [".git", "node_modules"]
2525
}

0 commit comments

Comments
 (0)