10 lines
303 B
Plaintext
10 lines
303 B
Plaintext
|
==== tests/cases/compiler/genericInterfacesWithoutTypeArguments.ts (2 errors) ====
|
||
|
interface I<T> { }
|
||
|
class C<T> { }
|
||
|
var i: I;
|
||
|
~
|
||
|
!!! Generic type 'I<T>' requires 1 type argument(s).
|
||
|
var c: C<I>;
|
||
|
~
|
||
|
!!! Generic type 'I<T>' requires 1 type argument(s).
|
||
|
|