TypeScript/tests/baselines/reference/genericCallWithoutArgs.errors.txt
2014-09-11 16:11:08 -07:00

13 lines
392 B
Plaintext

==== tests/cases/compiler/genericCallWithoutArgs.ts (4 errors) ====
function f<X, Y>(x: X, y: Y) {
}
f<number,string>.
~
!!! error TS1109: Expression expected.
!!! error TS1003: Identifier expected.
~~~~~~
!!! error TS2304: Cannot find name 'number'.
~~~~~~
!!! error TS2304: Cannot find name 'string'.