=== tests/cases/compiler/nestedGenerics.ts ===
interface Foo<T> {
>Foo : Foo<T>
>T : T
t: T;
>t : T
}
var f: Foo<Foo<number>>;
>f : Foo<Foo<number>>