TypeScript/tests/cases/conformance/es6/modules/exportsAndImports2.ts

13 lines
231 B
TypeScript
Raw Normal View History

2015-03-22 20:18:56 +01:00
// @module: commonjs
// @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 };