mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
28 lines
416 B
TypeScript
28 lines
416 B
TypeScript
//// [tests/cases/compiler/enumsWithMultipleDeclarations1.ts] ////
|
|
|
|
//// [enumsWithMultipleDeclarations1.ts]
|
|
enum E {
|
|
A
|
|
}
|
|
|
|
enum E {
|
|
B
|
|
}
|
|
|
|
enum E {
|
|
C
|
|
}
|
|
|
|
//// [enumsWithMultipleDeclarations1.js]
|
|
"use strict";
|
|
var E;
|
|
(function (E) {
|
|
E[E["A"] = 0] = "A";
|
|
})(E || (E = {}));
|
|
(function (E) {
|
|
E[E["B"] = 0] = "B";
|
|
})(E || (E = {}));
|
|
(function (E) {
|
|
E[E["C"] = 0] = "C";
|
|
})(E || (E = {}));
|