You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The compiler incorrectly reports a parameter/call target signature mismatch when using the spread operator. Pasting this code into the TypeScript Playground:
function foo(x: number, y: number, z: number) { } var args = [0, 1, 2]; foo(...args);
produces this error:
Supplied parameters do not match any signature of call target.
netanelgilad, alex-kinokon, Ptival, dmylian, nikklassen and 166 moreremorses, darekf77, masch712, G-Rath and marcobiedermann