TypeScript/tests/baselines/reference/emptyGenericParamList.errors.txt

7 lines
229 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/emptyGenericParamList.ts (2 errors) ====
class I<T> {}
var x: I<>;
~~
!!! Type argument list cannot be empty.
~~~
!!! Generic type 'I<T>' requires 1 type argument(s).