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

9 lines
391 B
Plaintext
Raw Normal View History

tests/cases/compiler/genericTypeUsedWithoutTypeArguments1.ts(2,25): error TS2314: Generic type 'Foo<T>' requires 1 type argument(s).
2014-07-13 01:04:16 +02:00
==== 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).
2014-07-13 01:04:16 +02:00