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
6 "strict": true,6 "strict": true,
7 "esModuleInterop": true,7 "esModuleInterop": true,
8 "skipLibCheck": true,8 "skipLibCheck": true,
9 "types": ["@cloudflare/workers-types", "@cloudflare/vitest-pool-workers"],9 "types": ["@cloudflare/workers-types"],
10 "outDir": "dist",10 "outDir": "dist",
11 "rootDir": ".",11 "rootDir": ".",
12 "declaration": false,12 "declaration": false,
@@ -22,5 +22,5 @@ · 9 unmodified lines
22 }22 }
23 ]23 ]
24 },24 },
25 "include": ["src", "vite.config.ts", "worker-configuration.d.ts", "test-types.d.ts"]25 "include": ["src", "vite.config.ts", "worker-configuration.d.ts"]
26}26}