Files
tsgo/testdata/baselines/reference/submodule/compiler/genericCallWithoutArgs.errors.txt

13 lines
480 B
Plaintext

genericCallWithoutArgs.ts(4,2): error TS1477: An instantiation expression cannot be followed by a property access.
genericCallWithoutArgs.ts(4,18): error TS1003: Identifier expected.
==== genericCallWithoutArgs.ts (2 errors) ====
function f<X, Y>(x: X, y: Y) {
}
f<number,string>.
~~~~~~~~~~~~~~~
!!! error TS1477: An instantiation expression cannot be followed by a property access.
!!! error TS1003: Identifier expected.