napi-rs icon indicating copy to clipboard operation
napi-rs copied to clipboard

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

Open SoonIter opened this issue 1 year ago • 2 comments

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

SoonIter avatar Oct 31 '24 07:10 SoonIter

@SoonIter You can ignore the NAPI-RS CLI in Renovate. I will help upgrade the CLI and crates after the 3.0 beta release.

Brooooooklyn avatar Oct 31 '24 07:10 Brooooooklyn

@SoonIter You can ignore the NAPI-RS CLI in Renovate. I will help upgrade the CLI and crates after the 3.0 beta release.

Sincerely thanks ❤️️

SoonIter avatar Oct 31 '24 07:10 SoonIter