TypeScript/tests/cases/compiler/extendConstructSignatureInInterface.ts
2015-12-04 08:24:17 -08:00

10 lines
115 B
TypeScript

interface C {
new(x: number): C;
}
var CStatic: C;
class E extends CStatic {
}
var e: E = new E(1);