-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptHelp WantedYou can do thisYou can do this
Milestone
Description
lib Update Request
The problem is that proper types are not available when Resizable ArrayBuffer
need to be created by passing options
in the constructor.
Configuration Check
My compilation target is ESnext
and my lib is the default
.
Missing / Incorrect Definition
ArrayBuffer
Constructor signature.
Sample Code
const buff = new ArrayBuffer(10, {
maxByteLength: 100,
});
console.debug(buff.resizable);
console.debug(buff.byteLength);
buff.resize(100);
console.debug(buff.byteLength);
Documentation Link
You can check the signature over here.
james-pre, exodus4d, chuanqisun, maullerz, giladgd and 1 more
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptHelp WantedYou can do thisYou can do this