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.
ArrayBuffer() constructor
lib Update Request
The problem is that proper types are not available when
Resizable ArrayBufferneed to be created by passingoptionsin the constructor.Configuration Check
My compilation target is
ESnextand my lib isthe default.Missing / Incorrect Definition
ArrayBufferConstructor signature.Sample Code
Documentation Link
You can check the signature over here.
ArrayBuffer() constructor