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