-
Notifications
You must be signed in to change notification settings - Fork 563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undici/types/index.d.ts:21:8: Type error TS1192: Module '"undici@6.19.0/node_modules/undici/types/interceptors"' has no default export #3330
Comments
Can you create a quick reproduction that we can run? |
(A PR with the fix is also fine) |
True, it has not undici/types/interceptors.d.ts Lines 4 to 11 in 981fb3d
|
@metcoder95 I use the check-dts package to verify the types. Typescript acts unpredictably at times with type verifications. At times, I have seen types fail in a dependent package's tests. Perhaps importing some types in a *.test.ts module would help? |
It could be useful sure, do you want to send a PR for it? |
provided PR #3332 |
Bug Description
After upgrading to v6.19.0. When running the
check-dts
program to verify the types. The following error occurs: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
The text was updated successfully, but these errors were encountered: