TypeScript/tests/baselines/reference/objectTypeWithConstructSignatureHidingMembersOfFunctionAssignmentCompat.js
2014-07-12 17:30:19 -07:00

25 lines
338 B
TypeScript

//// [objectTypeWithConstructSignatureHidingMembersOfFunctionAssignmentCompat.ts]
interface I {
new(): any;
}
var i: I;
var f: Object;
f = i;
i = f;
var a: {
new(): any
}
f = a;
a = f;
//// [objectTypeWithConstructSignatureHidingMembersOfFunctionAssignmentCompat.js]
var i;
var f;
f = i;
i = f;
var a;
f = a;
a = f;