text: //// [augmentedTypesEnum2.ts]
  // enum then interface
  enum e1 { One } // error
  
  interface e1 { // error
      foo(): void;
  }
  
  // interface then enum works
  
  // enum then class
  enum e2 { One }; // error
  class e2 { // error
      foo() {
          return 1;
      }
  }
  
  //enum then enum - covered
  //enum then import - covered
  
  //// [augmentedTypesEnum2.js]
  // enum then interface
  var e1;
  (function (e1) {
      e1[e1["One"] = 0] = "One";
  })(e1 || (e1 = {})); // error
  // interface then enum works
  // enum then class
  var e2;
  (function (e2) {
      e2[e2["One"] = 0] = "One";
  })(e2 || (e2 = {}));
  ; // error
  var e2 = /** @class */ (function () {
      function e2() {
      }
      e2.prototype.foo = function () {
          return 1;
      };
      return e2;
  }());
  //enum then enum - covered
  //enum then import - covered 
  