Skip to content

[Bug]: wrong typegen: TS1030: 'export' modifier already see #2340

@SoonIter

Description

@SoonIter

version

 "@napi-rs/cli": "3.0.0-alpha.64",

error detail

I encountered this problem when upgrading the @napi-rs/cli version of rspack from 3.0.0-alpha.45 to 3.0.0-alpha.64

https://github.com/web-infra-dev/rspack/actions/runs/11607471349/job/32321072375?pr=6429

image

registerGlobalTrace gens two export

image

https://github.com/web-infra-dev/rspack/blob/6c81a4c659d1a01598cd81a9c396def07f47b4e4/crates/node_binding/src/lib.rs#L225

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