2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/emptyGenericParamList.ts(2,9): error TS1099: Type argument list cannot be empty.
|
|
|
|
tests/cases/compiler/emptyGenericParamList.ts(2,8): error TS2314: Generic type 'I<T>' requires 1 type argument(s).
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/emptyGenericParamList.ts (2 errors) ====
|
|
|
|
class I<T> {}
|
|
|
|
var x: I<>;
|
|
|
|
~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1099: Type argument list cannot be empty.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2314: Generic type 'I<T>' requires 1 type argument(s).
|