mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
20 lines
518 B
TypeScript
20 lines
518 B
TypeScript
//// [tests/cases/compiler/enumConflictsWithGlobalIdentifier.ts] ////
|
|
|
|
//// [enumConflictsWithGlobalIdentifier.ts]
|
|
enum Position {
|
|
IgnoreRulesSpecific = 0,
|
|
}
|
|
var x = IgnoreRulesSpecific.
|
|
var y = Position.IgnoreRulesSpecific;
|
|
|
|
|
|
//// [enumConflictsWithGlobalIdentifier.js]
|
|
"use strict";
|
|
var Position;
|
|
(function (Position) {
|
|
Position[Position["IgnoreRulesSpecific"] = 0] = "IgnoreRulesSpecific";
|
|
})(Position || (Position = {}));
|
|
var x = IgnoreRulesSpecific.
|
|
;
|
|
var y = Position.IgnoreRulesSpecific;
|