-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Incorrect types for Bun.gunzipSync()
#14472
Comments
I am not sure why are you not seeing any errors. Because from your screenshot itself, it is saying that Are you sure that you are on the latest version of |
Ok, I found something interesting. With only @nektro, I think this issue should be reopened and investigated. |
will try reproducing with both packages when im at my computer next |
@nektro, reminder ping |
this is why i felt the issue should be closed
this is correct.
this is because as i said above,
there may have been a definition conflict of the if there's anything i've missed, am happy to look further :) |
You have to do |
What version of Bun is running?
1.1.31-canary.9+ff476313a
What platform is your computer?
Microsoft Windows NT 10.0.22631.0 x64
What steps can reproduce the bug?
What is the expected behavior?
It works fine.
What do you see instead?
I see type errors.
Additional information
Even though there was no type error previously, in the latest version there is even though
Bun.gunzipSync()
acceptsBuffer
properly. Without this you have to manually convert fromBuffer
toArrayBuffer
for no reason or use//@ts-ignore
The text was updated successfully, but these errors were encountered: