28 lines
491 B
Text
28 lines
491 B
Text
=== 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
|
|
|