-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
fix(dts): Update type of ArrayBuffer
#54636
Comments
Please post code, not screenshots of code.This isn't part of a merged ECMAScript 2015, see https://github.com/tc39/proposal-resizablearraybuffer . This needs to go into ESnext first. |
Sorry about the screenshots. I'll update the description with code. |
Note that https://github.com/tc39/proposal-resizablearraybuffer has landed in the spec now. So I think we could move ahead with this now? |
Reproducible in TypeScript playground
TypeScript error
|
What's the status on this? |
lib Update Request
The problem is that proper types are not available when
Resizable ArrayBuffer
need to be created by passingoptions
in the constructor.Configuration Check
My compilation target is
ESnext
and my lib isthe default
.Missing / Incorrect Definition
ArrayBuffer
Constructor signature.Sample Code
Documentation Link
You can check the signature over here.
ArrayBuffer() constructor
The text was updated successfully, but these errors were encountered: