14 lines
No EOL
695 B
Text
14 lines
No EOL
695 B
Text
tests/cases/compiler/callWithWrongNumberOfTypeArguments.ts(3,1): error TS2346: Supplied parameters do not match any signature of call target.
|
|
tests/cases/compiler/callWithWrongNumberOfTypeArguments.ts(5,1): error TS2346: Supplied parameters do not match any signature of call target.
|
|
|
|
|
|
==== tests/cases/compiler/callWithWrongNumberOfTypeArguments.ts (2 errors) ====
|
|
function f<T, U>() { }
|
|
|
|
f<number>();
|
|
~~~~~~~~~~~
|
|
!!! error TS2346: Supplied parameters do not match any signature of call target.
|
|
f<number, string>();
|
|
f<number, string, number>();
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
!!! error TS2346: Supplied parameters do not match any signature of call target. |