News for hackers. Stuff that matters.
Re:TypeScript 2.4 by dsp1234 on Tuesday June 27, 2017 @05:30PM (#14649646)
Interestingly, 2.3 will spit out what you want (but error on the invalid syntax).

  var Test;
  (function (Test) {
      Test[Test["a"] = "RED"] = "a";
  })(Test || (Test = {}));
While 2.4 doesn't error out, but omits the inner assignment, thus not allowing the lookup.

  var Test;
  (function (Test) {
      Test["a"] = "RED";
  })(Test || (Test = {}));

There are no comments on this comment yet.