swc/crates/swc_ecma_parser/tests/tsc/exportsAndImports2-amd.ts

14 lines
230 B
TypeScript
Raw Normal View History

// @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 };