-
-
Notifications
You must be signed in to change notification settings - Fork 832
Description
Es2015BindingOptions interface is declared here:
Line 15 in f98e12c
| export interface Es2015BindingOptions { |
however when used inside TransformOptions it has the wrong name: ES2015BindingOptions (the S is uppercased)
Line 205 in f98e12c
| es2015?: ES2015BindingOptions |
So when compiling with typescript using skipLibCheck: false this cause the following error:
node_modules/.pnpm/[email protected]/node_modules/oxc-transform/index.d.ts:195:12 - error TS2552: Cannot find name 'ES2015BindingOptions'. Did you mean 'Es2015BindingOptions'?
195 es2015?: ES2015BindingOptions
I noticed that this file is generated using napi-rs:
Line 1 in f98e12c
| /* auto-generated by NAPI-RS */ |
So I assume I can't simply fix the typo and send a PR 😅.
After a quick search in the source code I'm unable to find any reference for the incorrect name (Es2015BindingOptions) expect the one in the declaration file, I found only ES2015BindingOptions.
I'm not familiar with rust project so I can't provide additional information 😢.