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

9 lines
302 B
Plaintext

==== tests/cases/compiler/recursiveBaseCheck3.ts (2 errors) ====
class A<T> extends C<T> { }
~
!!! Type 'A<T>' recursively references itself as a base type.
class C<T> extends A<T> { }
(new C).blah;
~~~~
!!! Property 'blah' does not exist on type 'C<{}>'.