TypeScript/tests/baselines/reference/recursiveBaseCheck6.errors.txt
2014-09-11 16:11:08 -07:00

7 lines
318 B
Plaintext

==== tests/cases/compiler/recursiveBaseCheck6.ts (2 errors) ====
class S18<A> extends S18<{ S19: A; }>{ }
~~~
!!! error TS2310: Type 'S18<A>' recursively references itself as a base type.
(new S18()).blah;
~~~~
!!! error TS2339: Property 'blah' does not exist on type 'S18<{}>'.