14 lines
No EOL
600 B
Text
14 lines
No EOL
600 B
Text
tests/cases/compiler/genericInterfacesWithoutTypeArguments.ts(3,8): error TS2314: Generic type 'I<T>' requires 1 type argument(s).
|
|
tests/cases/compiler/genericInterfacesWithoutTypeArguments.ts(4,10): error TS2314: Generic type 'I<T>' requires 1 type argument(s).
|
|
|
|
|
|
==== tests/cases/compiler/genericInterfacesWithoutTypeArguments.ts (2 errors) ====
|
|
interface I<T> { }
|
|
class C<T> { }
|
|
var i: I;
|
|
~
|
|
!!! error TS2314: Generic type 'I<T>' requires 1 type argument(s).
|
|
var c: C<I>;
|
|
~
|
|
!!! error TS2314: Generic type 'I<T>' requires 1 type argument(s).
|
|
|