12 lines
300 B
TypeScript
12 lines
300 B
TypeScript
//// [collisionCodeGenEnumWithEnumMemberConflict.ts]
|
|
enum Color {
|
|
Color,
|
|
Thing = Color
|
|
}
|
|
|
|
//// [collisionCodeGenEnumWithEnumMemberConflict.js]
|
|
var Color;
|
|
(function (Color) {
|
|
Color[Color["Color"] = 0] = "Color";
|
|
Color[Color["Thing"] = 0] = "Thing";
|
|
})(Color || (Color = {}));
|