interface V { v: number; } class A { declare f: X; }; // ^ defined: 3 let a = A; // ^ defined: 3 class B extends a {} // ^ defined: 6 // ^ defined: 1 declare let b: B; // ^ defined: 9 b.f.v; //^ defined: 13 // ^ defined: 3 // ^ defined: 1 export {};