TypeScript/tests/baselines/reference/exportsAndImports2.types

28 lines
483 B
Plaintext

=== tests/cases/conformance/es6/modules/t1.ts ===
export var x = "x";
>x : string
>"x" : "x"
export var y = "y";
>y : string
>"y" : "y"
=== tests/cases/conformance/es6/modules/t2.ts ===
export { x as y, y as x } from "./t1";
>x : string
>y : string
>y : string
>x : string
=== tests/cases/conformance/es6/modules/t3.ts ===
import { x, y } from "./t1";
>x : string
>y : string
export { x as y, y as x };
>x : string
>y : string
>y : string
>x : string