15 lines
297 B
TypeScript
15 lines
297 B
TypeScript
//// [enumWithPrimitiveName.ts]
|
|
enum string { }
|
|
enum number { }
|
|
enum any { }
|
|
|
|
//// [enumWithPrimitiveName.js]
|
|
var string;
|
|
(function (string) {
|
|
})(string || (string = {}));
|
|
var number;
|
|
(function (number) {
|
|
})(number || (number = {}));
|
|
var any;
|
|
(function (any) {
|
|
})(any || (any = {}));
|