12 lines
382 B
Plaintext
12 lines
382 B
Plaintext
==== tests/cases/compiler/instantiateTypeParameter.ts (4 errors) ====
|
|
interface Foo<T> {
|
|
var x: T<>;
|
|
~~~
|
|
!!! error TS1131: Property or signature expected.
|
|
~~
|
|
!!! error TS1099: Type argument list cannot be empty.
|
|
~~~
|
|
!!! error TS2304: Cannot find name 'T'.
|
|
}
|
|
~
|
|
!!! error TS1128: Declaration or statement expected. |