TypeScript/tests/baselines/reference/objectTypeWithConstructSignatureHidingMembersOfFunctionAssignmentCompat.js

25 lines
338 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [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;