mirror of
https://github.com/swc-project/swc.git
synced 2024-12-27 15:42:51 +03:00
34 lines
739 B
TypeScript
34 lines
739 B
TypeScript
// @module: commonjs
|
|
|
|
// @filename: t1.ts
|
|
export var v = 1;
|
|
export function f() { }
|
|
export class C {
|
|
}
|
|
export interface I {
|
|
}
|
|
export enum E {
|
|
A, B, C
|
|
}
|
|
export const enum D {
|
|
A, B, C
|
|
}
|
|
export module M {
|
|
export var x;
|
|
}
|
|
export module N {
|
|
export interface I {
|
|
}
|
|
}
|
|
export type T = number;
|
|
export import a = M.x;
|
|
|
|
export { v as v1, f as f1, C as C1, I as I1, E as E1, D as D1, M as M1, N as N1, T as T1, a as a1 };
|
|
|
|
// @filename: t2.ts
|
|
export { v1 as v, f1 as f, C1 as C, I1 as I, E1 as E, D1 as D, M1 as M, N1 as N, T1 as T, a1 as a } from "./t1";
|
|
|
|
// @filename: t3.ts
|
|
import { v1 as v, f1 as f, C1 as C, I1 as I, E1 as E, D1 as D, M1 as M, N1 as N, T1 as T, a1 as a } from "./t1";
|
|
export { v, f, C, I, E, D, M, N, T, a };
|