TypeScript/tests/baselines/reference/exportsAndImports2.types
2015-04-15 16:44:20 -07:00

29 lines
491 B
Plaintext

=== tests/cases/conformance/es6/modules/t1.ts ===
export var x = "x";
>x : string
>"x" : string
export var y = "y";
>y : string
>"y" : string
=== 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