Skip to content

Commit 3d7f912

Browse files
committed
fix: add 'node' type to tsconfig for improved type checking
1 parent 03fb437 commit 3d7f912

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed
Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
{
22
"extends": "../tsconfig.json",
33
"compilerOptions": {
4-
"types": ["@cloudflare/workers-types/experimental", "@cloudflare/vitest-pool-workers"]
4+
"types": [
5+
"@cloudflare/workers-types/experimental",
6+
"@cloudflare/vitest-pool-workers",
7+
"node"
8+
]
59
},
6-
"include": ["./**/*.ts", "../worker-configuration.d.ts", "../src/test/mock-data.ts"],
10+
"include": [
11+
"./**/*.ts",
12+
"../worker-configuration.d.ts",
13+
"../src/test/mock-data.ts"
14+
],
715
"exclude": []
8-
}
16+
}

0 commit comments

Comments
 (0)