Files
tsgo/testdata/baselines/reference/submodule/compiler/extendConstructSignatureInInterface.js

21 lines
357 B
TypeScript

//// [tests/cases/compiler/extendConstructSignatureInInterface.ts] ////
//// [extendConstructSignatureInInterface.ts]
interface C {
new(x: number): C;
}
var CStatic: C;
class E extends CStatic {
}
var e: E = new E(1);
//// [extendConstructSignatureInInterface.js]
"use strict";
var CStatic;
class E extends CStatic {
}
var e = new E(1);