Skip to content

undici/types/index.d.ts:21:8: Type error TS1192: Module '"[email protected]/node_modules/undici/types/interceptors"' has no default export #3330

Closed
@btakita

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 '"[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

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