Closed
Description
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.