History

Drop orphaned @cloudflare/vitest-pool-workers type references

The workers test pool was removed with the wrangler test configs (cloud unit tests now run in a plain node pool; integration coverage lives in e2e/), but the tsconfig types entry and test-types.d.ts still referenced the now-absent package, breaking typecheck (TS2688). Remove both.

Rhys Sullivan committed 5 months ago

Commit bc414f71 parent ec6069b2 files · +2 −3Browse files

Unified · Split

2 files
  1. apps/cloud/test-types.d.ts +0 −1
  2. apps/cloud/tsconfig.json +2 −2
apps/cloud/test-types.d.ts+0−1
@@ -1 +0,0 @@
1−/// <reference types="@cloudflare/vitest-pool-workers/types" />
apps/cloud/tsconfig.json+2−2
@@ -6,7 +6,7 @@ · 5 unmodified lines
66 "strict": true,
77 "esModuleInterop": true,
88 "skipLibCheck": true,
9− "types": ["@cloudflare/workers-types", "@cloudflare/vitest-pool-workers"],
9+ "types": ["@cloudflare/workers-types"],
1010 "outDir": "dist",
1111 "rootDir": ".",
1212 "declaration": false,
@@ -22,5 +22,5 @@ · 9 unmodified lines
2222 }
2323 ]
2424 },
25− "include": ["src", "vite.config.ts", "worker-configuration.d.ts", "test-types.d.ts"]
25+ "include": ["src", "vite.config.ts", "worker-configuration.d.ts"]
2626 }