Fix `test:typescript` script for Windows compatibility
Author: shivarmCreated Sep 30, 2026Updated Sep 30, 2026
Labelsbug
Failing in Windows
PS C:\Users\shivams\Desktop\open-source\\\undici> npm run test:typescript
npm notice run [email protected] test:typescript
npm notice run tsd && tsc test/imports/undici-import.ts --typeRoots ./types --noEmit && tsc ./types/*.d.ts --noEmit --typeRoots ./types
error TS6053: File './types/*.d.ts' not found.
The file is in the program because:
Root file specified for compilation
Found 1 error.Source: nodejs/undici