We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a1456f commit f61efe5Copy full SHA for f61efe5
tests/baselines/reference/forwardRefInEnum.js
@@ -19,11 +19,11 @@ var E1;
19
(function (E1) {
20
// illegal case
21
// forward reference to the element of the same enum
22
- E1[E1["X"] = E1.Y] = "X";
23
- E1[E1["X1"] = E1["Y"]] = "X1";
+ E1[E1["X"] = 0] = "X";
+ E1[E1["X1"] = 0] = "X1";
24
25
- E1[E1["Y"] = E1.Z] = "Y";
26
- E1[E1["Y1"] = E1["Z"]] = "Y1";
+ E1[E1["Y"] = 0] = "Y";
+ E1[E1["Y1"] = 0] = "Y1";
27
})(E1 || (E1 = {}));
28
29
E1[E1["Z"] = 4] = "Z";
0 commit comments