6 lines
253 B
Plaintext
6 lines
253 B
Plaintext
==== tests/cases/compiler/genericTypeUsedWithoutTypeArguments1.ts (1 errors) ====
|
|
interface Foo<T> { }
|
|
class Bar<T> implements Foo { }
|
|
~~~
|
|
!!! error TS2314: Generic type 'Foo<T>' requires 1 type argument(s).
|
|
|