// repro from #8166 interface Constructor { new(...args: any[]): T; prototype: T; } class A { a: U; } class B extends A { b: V; } var c:Constructor> = B; // shouldn't error here