lib Update Request
Configuration Check
My compilation target is ESNext and my lib is the default.
Missing / Incorrect Definition
BigInt64Array.from is missing an iterable overload (same for BigUint64Array).
Sample Code
console.log(
Int32Array.from(new Set([1, 2, 3]), (value) => value ** 2).join(", ")
);
console.log(
BigInt64Array.from(new Set([1n, 2n, 3n]), (value) => value ** 2n).join(", ")
);
Argument of type 'Set<bigint>' is not assignable to parameter of type 'ArrayLike<unknown>'.
Property 'length' is missing in type 'Set<bigint>' but required in type 'ArrayLike<unknown>'.
Documentation Link
TypedArray.from() - JavaScript | MDN
lib Update Request
Configuration Check
My compilation target is
ESNextand my lib isthe default.Missing / Incorrect Definition
BigInt64Array.fromis missing an iterable overload (same for BigUint64Array).Sample Code
Documentation Link
TypedArray.from() - JavaScript | MDN