-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
Domain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptFix AvailableA PR has been opened for this issueA PR has been opened for this issueRescheduledThis issue was previously scheduled to an earlier milestoneThis issue was previously scheduled to an earlier milestone
Milestone
Description
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
Metadata
Metadata
Assignees
Labels
Domain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptFix AvailableA PR has been opened for this issueA PR has been opened for this issueRescheduledThis issue was previously scheduled to an earlier milestoneThis issue was previously scheduled to an earlier milestone