Files
tsgo/testdata/baselines/reference/submodule/compiler/exportEqualsDefaultProperty.symbols

25 lines
500 B
Plaintext

//// [tests/cases/compiler/exportEqualsDefaultProperty.ts] ////
=== exp.ts ===
var x = {
>x : Symbol(x, Decl(exp.ts, 0, 3))
"greeting": "hello, world",
>"greeting" : Symbol("greeting", Decl(exp.ts, 0, 9))
"default": 42
>"default" : Symbol("default", Decl(exp.ts, 1, 31))
};
export = x
>x : Symbol(x, Decl(exp.ts, 0, 3))
=== imp.ts ===
import foo from "./exp";
>foo : Symbol(foo, Decl(imp.ts, 0, 6))
foo.toExponential(2);
>foo : Symbol(foo, Decl(imp.ts, 0, 6))