TypeScript/tests/cases/conformance/es6/modules/exportsAndImports2-amd.ts
2015-04-17 20:29:05 +03:00

14 lines
243 B
TypeScript

// @module: amd
// @target: ES5
// @filename: t1.ts
export var x = "x";
export var y = "y";
// @filename: t2.ts
export { x as y, y as x } from "./t1";
// @filename: t3.ts
import { x, y } from "./t1";
export { x as y, y as x };