mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
19 lines
373 B
TypeScript
19 lines
373 B
TypeScript
//// [tests/cases/compiler/enumWithPrimitiveName.ts] ////
|
|
|
|
//// [enumWithPrimitiveName.ts]
|
|
enum string { }
|
|
enum number { }
|
|
enum any { }
|
|
|
|
//// [enumWithPrimitiveName.js]
|
|
"use strict";
|
|
var string;
|
|
(function (string) {
|
|
})(string || (string = {}));
|
|
var number;
|
|
(function (number) {
|
|
})(number || (number = {}));
|
|
var any;
|
|
(function (any) {
|
|
})(any || (any = {}));
|