14 lines
695 B
Plaintext
14 lines
695 B
Plaintext
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. |