17 lines
198 B
TypeScript
17 lines
198 B
TypeScript
//// [infinitelyExpandingBaseTypes1.ts]
|
|
interface A<T>
|
|
{
|
|
x : A<A<T>>
|
|
}
|
|
|
|
interface B<T>
|
|
{
|
|
x : B<T>
|
|
}
|
|
|
|
interface C<T> extends A<T>, B<T> { }
|
|
|
|
|
|
|
|
|
|
//// [infinitelyExpandingBaseTypes1.js]
|