swc/crates/swc_ecma_parser/tests/tsc/enumExportMergingES6.ts

11 lines
126 B
TypeScript
Raw Normal View History

// @target: es6
export enum Animals {
Cat = 1
}
export enum Animals {
Dog = 2
}
export enum Animals {
CatDog = Cat | Dog
}