mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 01:13:56 +03:00
14 lines
235 B
TypeScript
14 lines
235 B
TypeScript
|
// @target: es6
|
||
|
// @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 };
|