Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Fix `test:typescript` script for Windows compatibility

Open Beginner friendly
#5,928 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@shivarm is already working on this.

Since Sep 30, 2026.

  • #5929 by @shivarm — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
67/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active

Research direction

Start by locating the package.json script behind test:typescript and inspect how it passes ./types/*.d.ts to tsc; the issue shows that Windows fails to expand this glob. Run npm run test:typescript on Windows to reproduce the failure, then verify the script succeeds there without changing the intended type checks.

Written by the indexing model from the issue text.

Description

bug

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.
Dominant language
JavaScript
Stars
7.7k
Forks
920
Avg merge
3d 10h
Merged PRs (30d)
99

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nodejs/undici

All issues in nodejs/undici

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.