13 lines
166 B
TypeScript
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);
|