Skip to content

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

Description

@btakita

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 '"undici@6.19.0/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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions