Files
oxc-project__oxc/napi/parser/src-js/parser.wasi.d.cts
camc314 2a1058a8d1 fix(napi): omit parser header from WASI declarations (#25254)
## Summary

- generate the parser WASI declaration without the root package's custom DTS header
- remove the resulting invalid `./generated/visit/visitor.d.ts` import from `parser.wasi.d.cts`
- allow `@napi-rs/cli` 3.8.2 to validate and publish the WASI binding package

Failed job: https://github.com/oxc-project/oxc/actions/runs/30810594648/job/91677775732

The custom header describes the root `oxc-parser` JavaScript wrapper (`Visitor` and `visitorKeys`), not the raw platform binding package, so it should not be present in the WASI binding declaration.
2026-08-03 13:26:31 +00:00

7.7 KiB