33 lines
359 B
Plaintext
33 lines
359 B
Plaintext
=== tests/cases/compiler/infinitelyExpandingBaseTypes1.ts ===
|
|
interface A<T>
|
|
>A : A<T>
|
|
>T : T
|
|
{
|
|
x : A<A<T>>
|
|
>x : A<A<T>>
|
|
>A : A<T>
|
|
>A : A<T>
|
|
>T : T
|
|
}
|
|
|
|
interface B<T>
|
|
>B : B<T>
|
|
>T : T
|
|
{
|
|
x : B<T>
|
|
>x : B<T>
|
|
>B : B<T>
|
|
>T : T
|
|
}
|
|
|
|
interface C<T> extends A<T>, B<T> { }
|
|
>C : C<T>
|
|
>T : T
|
|
>A : A<T>
|
|
>T : T
|
|
>B : B<T>
|
|
>T : T
|
|
|
|
|
|
|