We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Version: Deno 1.41.3 According to the MDN docs, the ArrayBuffer constructor takes an options argument, but those typings don't seem to exist.
ArrayBuffer
options
const buffer = new ArrayBuffer(0, { maxByteLength: 3 }) // Expected 1 arguments, but got 2. deno-ts(2554) buffefr.resize(1)
The .resize function should also be visible when the maxByteLength is provided.
.resize
maxByteLength
The text was updated successfully, but these errors were encountered:
upstream PR: microsoft/TypeScript#57858
Sorry, something went wrong.
Looks like it was merged. Just gotta wait for it to bubble up here. 🎉
Edit: nvm I'm an idiot
#19191
No branches or pull requests
Version: Deno 1.41.3
According to the MDN docs, the
ArrayBuffer
constructor takes anoptions
argument, but those typings don't seem to exist.The
.resize
function should also be visible when themaxByteLength
is provided.The text was updated successfully, but these errors were encountered: