mirror of
https://github.com/swc-project/swc.git
synced 2024-12-29 00:23:10 +03:00
b887b30092
**Description:** This is required for https://github.com/swc-project/swc/pull/6981 and https://github.com/swc-project/swc/pull/6950
16 lines
245 B
TypeScript
16 lines
245 B
TypeScript
// @Filename: enum.ts
|
|
export const enum Enum {
|
|
One = 1,
|
|
}
|
|
|
|
// @Filename: merge.ts
|
|
import { Enum } from "./enum";
|
|
namespace Enum {
|
|
export type Foo = number;
|
|
}
|
|
export { Enum };
|
|
|
|
// @Filename: index.ts
|
|
import { Enum } from "./merge";
|
|
Enum.One;
|