TypeScript/tests/cases/compiler/infiniteExpandingTypeThroughInheritanceInstantiation.ts
2014-07-12 17:30:19 -07:00

10 lines
98 B
TypeScript

interface A<T>
{
x: A<B<T>>
}
interface B<T> extends A<T> // error
{
x: B<A<T>>
}