4 lines
No EOL
374 B
Text
4 lines
No EOL
374 B
Text
==== tests/cases/compiler/contextualTyping33.ts (1 errors) ====
|
|
function foo(param: {():number; (i:number):number; }[]) { }; foo([function(){return 1;}, function(){return "foo"}]);
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
!!! Supplied parameters do not match any signature of call target. |