Skip to content

[Bug]: export * from '...' generate wrong dts code #554

@himself65

Description

@himself65

Reproduction link or steps

https://github.com/himself65/tsdown-issue-invalid-exports

What is expected?

export type { UniqueType } from './utils'

What is actually happening?

Generated the wrong type

import { t as utils_d_exports } from "./utils-Cs5BtkBm.js";
export { type UniqueType };

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdts

    Type

    Priority

    None yet

    Effort

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions