TypeScript/tests/cases/compiler/exportEqualsDefaultProperty.ts
Bill Ticehurst 3ebf0fc383 Fixed default import from export equals
(cherry picked from commit c4a10cfcdd)
2016-03-09 19:13:14 -08:00

13 lines
166 B
TypeScript

// @Filename: exp.ts
var x = {
"greeting": "hello, world",
"default": 42
};
export = x
// @Filename: imp.ts
import foo from "./exp";
foo.toExponential(2);