-
-
Notifications
You must be signed in to change notification settings - Fork 521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
napi/transform: ts declaration file - incorrect Es2015BindingOptions
interface name
#6254
Comments
In
Let me understand the relevant knowledge and see if there is a better solution. |
Hello shulaoda, |
Es2015BindingOptions
interface is declared here:oxc/napi/transform/index.d.ts
Line 15 in f98e12c
however when used inside
TransformOptions
it has the wrong name:ES2015BindingOptions
(the S is uppercased)oxc/napi/transform/index.d.ts
Line 205 in f98e12c
So when compiling with typescript using
skipLibCheck: false
this cause the following error:I noticed that this file is generated using
napi-rs
:oxc/napi/transform/index.d.ts
Line 1 in f98e12c
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 onlyES2015BindingOptions
.I'm not familiar with rust project so I can't provide additional information 😢.
The text was updated successfully, but these errors were encountered: