TypeScript/tests/cases/compiler/extendConstructSignatureInInterface.ts

10 lines
115 B
TypeScript
Raw Normal View History

2015-12-04 00:51:15 +01:00
interface C {
new(x: number): C;
}
var CStatic: C;
class E extends CStatic {
}
var e: E = new E(1);