console.log(...[1,2,3]); Parameter does not support spread operator. #15387
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Help Wanted
You can do this
Milestone
TypeScript Version: 2.2.2
Code
Expected behavior:
I can use the spread operator and can compile it. As in the image below in Chrome DevTools.
Actual behavior:
Error Message: Supplied parameters do not match any signature of call target.
The text was updated successfully, but these errors were encountered: