TypeScript/tests/baselines/reference/exportsAndImports2-amd.symbols

26 lines
730 B
Plaintext

=== tests/cases/conformance/es6/modules/t1.ts ===
export var x = "x";
>x : Symbol(x, Decl(t1.ts, 0, 10))
export var y = "y";
>y : Symbol(y, Decl(t1.ts, 1, 10))
=== tests/cases/conformance/es6/modules/t2.ts ===
export { x as y, y as x } from "./t1";
>x : Symbol(y, Decl(t2.ts, 0, 8))
>y : Symbol(y, Decl(t2.ts, 0, 8))
>y : Symbol(x, Decl(t2.ts, 0, 16))
>x : Symbol(x, Decl(t2.ts, 0, 16))
=== tests/cases/conformance/es6/modules/t3.ts ===
import { x, y } from "./t1";
>x : Symbol(x, Decl(t3.ts, 0, 8))
>y : Symbol(y, Decl(t3.ts, 0, 11))
export { x as y, y as x };
>x : Symbol(y, Decl(t3.ts, 1, 8))
>y : Symbol(y, Decl(t3.ts, 1, 8))
>y : Symbol(x, Decl(t3.ts, 1, 16))
>x : Symbol(x, Decl(t3.ts, 1, 16))