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

9 lines
363 B
Plaintext

==== tests/cases/compiler/recursiveBaseCheck5.ts (2 errors) ====
interface I1<T> extends I2<string> { }
~~
!!! Type 'I1<T>' recursively references itself as a base type.
interface I2<T> extends I1<T> { }
class X<T, U> implements I2<T> { }
(new X).blah;
~~~~
!!! Property 'blah' does not exist on type 'X<{}, {}>'.