TypeScript/tests/baselines/reference/emptyTypeArgumentList.errors.txt
2014-09-12 13:35:07 -07:00

11 lines
No EOL
505 B
Text

tests/cases/compiler/emptyTypeArgumentList.ts(2,4): error TS1099: Type argument list cannot be empty.
tests/cases/compiler/emptyTypeArgumentList.ts(2,1): error TS2346: Supplied parameters do not match any signature of call target.
==== tests/cases/compiler/emptyTypeArgumentList.ts (2 errors) ====
function foo<T>() { }
foo<>();
~~
!!! error TS1099: Type argument list cannot be empty.
~~~~~~~
!!! error TS2346: Supplied parameters do not match any signature of call target.