=== tests/cases/compiler/generics0.ts === interface G { >G : G >T : T x: T; >x : T >T : T } var v2: G; >v2 : G >G : G var z = v2.x; // 'y' should be of type 'string' >z : string >v2.x : string >v2 : G >x : string