text: //// [tests/cases/conformance/es2020/modules/exportAsNamespace3.ts] ////
  
  //// [0.ts]
  export const a = 1;
  export const b = 2;
  
  //// [1.ts]
  export * as ns from './0';
  ns.a;
  ns.b;
  let ns = {a: 1, b: 2}
  ns.a;
  ns.b;
  
  //// [2.ts]
  import * as foo from './1'
  
  foo.ns.a;
  foo.ns.b;
  
  //// [0.js]
  (function (factory) {
      if (typeof module === "object" && typeof module.exports === "object") {
          var v = factory(require, exports);
          if (v !== undefined) module.exports = v;
      }
      else if (typeof define === "function" && define.amd) {
          define(["require", "exports"], factory);
      }
  })(function (require, exports) {
      "use strict";
      exports.__esModule = true;
      exports.a = 1;
      exports.b = 2;
  });
  //// [1.js]
  var __importStar = (this && this.__importStar) || function (mod) {
      if (mod && mod.__esModule) return mod;
      var result = {};
      if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
      result["default"] = mod;
      return result;
  };
  (function (factory) {
      if (typeof module === "object" && typeof module.exports === "object") {
          var v = factory(require, exports);
          if (v !== undefined) module.exports = v;
      }
      else if (typeof define === "function" && define.amd) {
          define(["require", "exports", "./0"], factory);
      }
  })(function (require, exports) {
      "use strict";
      exports.__esModule = true;
      exports.ns = __importStar(require("./0"));
      ns.a;
      ns.b;
      var ns = { a: 1, b: 2 };
      ns.a;
      ns.b;
  });
  //// [2.js]
  var __importStar = (this && this.__importStar) || function (mod) {
      if (mod && mod.__esModule) return mod;
      var result = {};
      if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
      result["default"] = mod;
      return result;
  };
  (function (factory) {
      if (typeof module === "object" && typeof module.exports === "object") {
          var v = factory(require, exports);
          if (v !== undefined) module.exports = v;
      }
      else if (typeof define === "function" && define.amd) {
          define(["require", "exports", "./1"], factory);
      }
  })(function (require, exports) {
      "use strict";
      exports.__esModule = true;
      var foo = __importStar(require("./1"));
      foo.ns.a;
      foo.ns.b;
  });
  
  
  //// [0.d.ts]
  export declare const a = 1;
  export declare const b = 2;
  //// [1.d.ts]
  export * as ns from './0';
  //// [2.d.ts]
  export {};
  