when has optional elements in tuple types, Promise.all has error #28427
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Fix Available
A PR has been opened for this issue
Milestone
TypeScript Version: 3.1.3
Search Terms:
Promise.all, optional elements in tuple types
Code
Expected behavior:
Promise.all(arr)
should be correctActual behavior:
The text was updated successfully, but these errors were encountered: