-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
DuplicateAn existing issue was already createdAn existing issue was already created
Description
TypeScript Version: nightly (2.2.0-dev.20161121)
Code
declare const fn: (((...args: any[]) => any) | (() => boolean));
fn(1, 2, 3);
Expected behavior:
The call to fn(1, 2, 3)
should succeed, as it should match the (...args: any[]) => any
part of the union.
Actual behavior:
I get the error: "Supplied parameters do not match any signature of call target."
Metadata
Metadata
Assignees
Labels
DuplicateAn existing issue was already createdAn existing issue was already created