TypeScript/tests/cases/conformance/types/members/objectTypeWithConstructSignatureHidingMembersOfFunctionAssignmentCompat.ts
2014-07-12 17:30:19 -07:00

14 lines
No EOL
125 B
TypeScript

interface I {
new(): any;
}
var i: I;
var f: Object;
f = i;
i = f;
var a: {
new(): any
}
f = a;
a = f;