Skip to content

Incorrect d.ts file generation in types.d.ts and types.d.mts files #291

@alSergey

Description

@alSergey

Describe the bug

The following type is generated in the files dist/types.d.ts and dist/types.d.mts

export type { ModuleOptions, default } from './module'

The following type should be generated

export { type ModuleOptions, default } from './module'

Reproduction

Open StackBlitz and go to dist/types.d.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions