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

7 lines
376 B
Plaintext
Raw Normal View History

tests/cases/compiler/recursiveTypeParameterConstraintReferenceLacksTypeArgs.ts(1,19): error TS2314: Generic type 'A<T>' requires 1 type argument(s).
2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/recursiveTypeParameterConstraintReferenceLacksTypeArgs.ts (1 errors) ====
class A<T extends A> { }
~
!!! error TS2314: Generic type 'A<T>' requires 1 type argument(s).