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

11 lines
147 B
TypeScript

interface F<T> {
t: G<F<() => T>>;
}
interface G<U> {
t: G<G<() => U>>;
}
var f: F<string>;
var g: G<string>;
f = g;
g = f;