Skip to content

Tsdown does not detect import as a typed import in all cases causing missing export warning #744

@kalvenschraut

Description

@kalvenschraut

Reproduction link or steps

https://github.com/RTVision/invalid-dts-generation/tree/invalid-type-gen

What is expected?

run build and no warning about missing export

What is actually happening?

Image

above warning saying if meant to add as a type import add type identifier

Any additional comments?

the type identifier is present just outside the curlies
https://github.com/RTVision/invalid-dts-generation/blob/invalid-type-gen/src/DbUpdate.ts#L1

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    Priority

    None yet

    Effort

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions