undici/types/index.d.ts:21:8: Type error TS1192: Module '"[email protected]/node_modules/undici/types/interceptors"' has no default export #3330
Closed
Description
Bug Description
After upgrading to v6.19.0. When running the check-dts
program to verify the types. The following error occurs:
undici/types/index.d.ts:21:8: Type error TS1192
│ Module '"[email protected]/node_modules/undici/types/interceptors"' has no default export
Reproducible By
Running check-dts
Expected Behavior
No Type error
Logs & Screenshots
Environment
Linux 6.9.4-arch1-1 x86_64 unknown
Node v22.3.0
Additional context
Here is the line causing the error: https://github.com/nodejs/undici/blob/main/types/index.d.ts#L21
Came from #3318