Promise.all overloads don't account for single element tuples #41831
Labels
Fix Available
A PR has been opened for this issue
Needs Investigation
This issue needs a team member to investigate its status.
Rescheduled
This issue was previously scheduled to an earlier milestone
Milestone
Uh oh!
There was an error while loading. Please reload this page.
TypeScript Version: 4.2.0-dev.20201205
Search Terms: Promise.all, tuple, readonly
Code
Expected behavior:
Actual behavior:
This is because of the last overload in
lib.es2015.promise.d.ts
:Tuples with more than 1 element have expected behavior.
Playground Link: Here
Related Issues: Couldn't find any
The text was updated successfully, but these errors were encountered: