TypeScript/tests/baselines/reference/callWithWrongNumberOfTypeArguments.errors.txt

10 lines
377 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/callWithWrongNumberOfTypeArguments.ts (2 errors) ====
function f<T, U>() { }
f<number>();
~~~~~~~~~~~
!!! Supplied parameters do not match any signature of call target.
f<number, string>();
f<number, string, number>();
~~~~~~~~~~~~~~~~~~~~~~~~~~~
!!! Supplied parameters do not match any signature of call target.