text: //// [/src/app/file3.ts]
  export const z = 30;
  import { x } from "file1";function forappfile3Rest() {
  const { b, ...rest } = { a: 10, b: 30, yy: 30 };
  }
  
  //// [/src/app/file4.ts]
  const myVar = 30;
  function appfile4Spread(...b: number[]) { }
  appfile4Spread(...[10, 20, 30]);
  
  //// [/src/app/module.d.ts]
  declare const myGlob = 20;
  declare function libfile0Spread(...b: number[]): void;
  declare module "file1" {
      export const x = 10;
  }
  declare module "file2" {
      export const y = 20;
  }
  declare const globalConst = 10;
  declare module "file3" {
      export const z = 30;
  }
  declare const myVar = 30;
  declare function appfile4Spread(...b: number[]): void;
  //# sourceMappingURL=module.d.ts.map
  
  //// [/src/app/module.d.ts.map]
  {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../lib/file0.ts","../lib/file1.ts","../lib/file2.ts","../lib/global.ts","file3.ts","file4.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;;ICD3C,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC;AACjB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK"}
  
  //// [/src/app/module.d.ts.map.baseline.txt]
  ===================================================================
  JsFile: module.d.ts
  mapUrl: module.d.ts.map
  sourceRoot: 
  sources: ../lib/file0.ts,../lib/file1.ts,../lib/file2.ts,../lib/global.ts,file3.ts,file4.ts
  ===================================================================
  -------------------------------------------------------------------
  emittedFile:/src/app/module.d.ts
  sourceFile:../lib/file0.ts
  -------------------------------------------------------------------
  >>>declare const myGlob = 20;
  1 >
  2 >^^^^^^^^
  3 >        ^^^^^^
  4 >              ^^^^^^
  5 >                    ^^^^^
  6 >                         ^
  7 >                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
  1 >
  2 >
  3 >        const 
  4 >              myGlob
  5 >                     = 20
  6 >                         ;
  1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
  2 >Emitted(1, 9) Source(1, 1) + SourceIndex(0)
  3 >Emitted(1, 15) Source(1, 7) + SourceIndex(0)
  4 >Emitted(1, 21) Source(1, 13) + SourceIndex(0)
  5 >Emitted(1, 26) Source(1, 18) + SourceIndex(0)
  6 >Emitted(1, 27) Source(1, 19) + SourceIndex(0)
  ---
  >>>declare function libfile0Spread(...b: number[]): void;
  1->
  2 >^^^^^^^^^^^^^^^^^
  3 >                 ^^^^^^^^^^^^^^
  4 >                               ^
  5 >                                ^^^
  6 >                                   ^^^
  7 >                                      ^^^^^^
  8 >                                            ^^
  9 >                                              ^^^^^^^^
  1->
    >
  2 >function 
  3 >                 libfile0Spread
  4 >                               (
  5 >                                ...
  6 >                                   b: 
  7 >                                      number
  8 >                                            []
  9 >                                              ) { }
  1->Emitted(2, 1) Source(2, 1) + SourceIndex(0)
  2 >Emitted(2, 18) Source(2, 10) + SourceIndex(0)
  3 >Emitted(2, 32) Source(2, 24) + SourceIndex(0)
  4 >Emitted(2, 33) Source(2, 25) + SourceIndex(0)
  5 >Emitted(2, 36) Source(2, 28) + SourceIndex(0)
  6 >Emitted(2, 39) Source(2, 31) + SourceIndex(0)
  7 >Emitted(2, 45) Source(2, 37) + SourceIndex(0)
  8 >Emitted(2, 47) Source(2, 39) + SourceIndex(0)
  9 >Emitted(2, 55) Source(2, 44) + SourceIndex(0)
  ---
  -------------------------------------------------------------------
  emittedFile:/src/app/module.d.ts
  sourceFile:../lib/file1.ts
  -------------------------------------------------------------------
  >>>declare module "file1" {
  >>>    export const x = 10;
  1 >^^^^
  2 >    ^^^^^^
  3 >          ^
  4 >           ^^^^^^
  5 >                 ^
  6 >                  ^^^^^
  7 >                       ^
  1 >
  2 >    export
  3 >           
  4 >           const 
  5 >                 x
  6 >                   = 10
  7 >                       ;
  1 >Emitted(4, 5) Source(1, 1) + SourceIndex(1)
  2 >Emitted(4, 11) Source(1, 7) + SourceIndex(1)
  3 >Emitted(4, 12) Source(1, 8) + SourceIndex(1)
  4 >Emitted(4, 18) Source(1, 14) + SourceIndex(1)
  5 >Emitted(4, 19) Source(1, 15) + SourceIndex(1)
  6 >Emitted(4, 24) Source(1, 20) + SourceIndex(1)
  7 >Emitted(4, 25) Source(1, 21) + SourceIndex(1)
  ---
  -------------------------------------------------------------------
  emittedFile:/src/app/module.d.ts
  sourceFile:../lib/file2.ts
  -------------------------------------------------------------------
  >>>}
  >>>declare module "file2" {
  >>>    export const y = 20;
  1 >^^^^
  2 >    ^^^^^^
  3 >          ^
  4 >           ^^^^^^
  5 >                 ^
  6 >                  ^^^^^
  7 >                       ^
  1 >
  2 >    export
  3 >           
  4 >           const 
  5 >                 y
  6 >                   = 20
  7 >                       ;
  1 >Emitted(7, 5) Source(1, 1) + SourceIndex(2)
  2 >Emitted(7, 11) Source(1, 7) + SourceIndex(2)
  3 >Emitted(7, 12) Source(1, 8) + SourceIndex(2)
  4 >Emitted(7, 18) Source(1, 14) + SourceIndex(2)
  5 >Emitted(7, 19) Source(1, 15) + SourceIndex(2)
  6 >Emitted(7, 24) Source(1, 20) + SourceIndex(2)
  7 >Emitted(7, 25) Source(1, 21) + SourceIndex(2)
  ---
  -------------------------------------------------------------------
  emittedFile:/src/app/module.d.ts
  sourceFile:../lib/global.ts
  -------------------------------------------------------------------
  >>>}
  >>>declare const globalConst = 10;
  1 >
  2 >^^^^^^^^
  3 >        ^^^^^^
  4 >              ^^^^^^^^^^^
  5 >                         ^^^^^
  6 >                              ^
  1 >
  2 >
  3 >        const 
  4 >              globalConst
  5 >                          = 10
  6 >                              ;
  1 >Emitted(9, 1) Source(1, 1) + SourceIndex(3)
  2 >Emitted(9, 9) Source(1, 1) + SourceIndex(3)
  3 >Emitted(9, 15) Source(1, 7) + SourceIndex(3)
  4 >Emitted(9, 26) Source(1, 18) + SourceIndex(3)
  5 >Emitted(9, 31) Source(1, 23) + SourceIndex(3)
  6 >Emitted(9, 32) Source(1, 24) + SourceIndex(3)
  ---
  -------------------------------------------------------------------
  emittedFile:/src/app/module.d.ts
  sourceFile:file3.ts
  -------------------------------------------------------------------
  >>>declare module "file3" {
  >>>    export const z = 30;
  1 >^^^^
  2 >    ^^^^^^
  3 >          ^
  4 >           ^^^^^^
  5 >                 ^
  6 >                  ^^^^^
  7 >                       ^
  1 >
  2 >    export
  3 >           
  4 >           const 
  5 >                 z
  6 >                   = 30
  7 >                       ;
  1 >Emitted(11, 5) Source(1, 1) + SourceIndex(4)
  2 >Emitted(11, 11) Source(1, 7) + SourceIndex(4)
  3 >Emitted(11, 12) Source(1, 8) + SourceIndex(4)
  4 >Emitted(11, 18) Source(1, 14) + SourceIndex(4)
  5 >Emitted(11, 19) Source(1, 15) + SourceIndex(4)
  6 >Emitted(11, 24) Source(1, 20) + SourceIndex(4)
  7 >Emitted(11, 25) Source(1, 21) + SourceIndex(4)
  ---
  -------------------------------------------------------------------
  emittedFile:/src/app/module.d.ts
  sourceFile:file4.ts
  -------------------------------------------------------------------
  >>>}
  >>>declare const myVar = 30;
  1 >
  2 >^^^^^^^^
  3 >        ^^^^^^
  4 >              ^^^^^
  5 >                   ^^^^^
  6 >                        ^
  7 >                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
  1 >
  2 >
  3 >        const 
  4 >              myVar
  5 >                    = 30
  6 >                        ;
  1 >Emitted(13, 1) Source(1, 1) + SourceIndex(5)
  2 >Emitted(13, 9) Source(1, 1) + SourceIndex(5)
  3 >Emitted(13, 15) Source(1, 7) + SourceIndex(5)
  4 >Emitted(13, 20) Source(1, 12) + SourceIndex(5)
  5 >Emitted(13, 25) Source(1, 17) + SourceIndex(5)
  6 >Emitted(13, 26) Source(1, 18) + SourceIndex(5)
  ---
  >>>declare function appfile4Spread(...b: number[]): void;
  1->
  2 >^^^^^^^^^^^^^^^^^
  3 >                 ^^^^^^^^^^^^^^
  4 >                               ^
  5 >                                ^^^
  6 >                                   ^^^
  7 >                                      ^^^^^^
  8 >                                            ^^
  9 >                                              ^^^^^^^^
  1->
    >
  2 >function 
  3 >                 appfile4Spread
  4 >                               (
  5 >                                ...
  6 >                                   b: 
  7 >                                      number
  8 >                                            []
  9 >                                              ) { }
  1->Emitted(14, 1) Source(2, 1) + SourceIndex(5)
  2 >Emitted(14, 18) Source(2, 10) + SourceIndex(5)
  3 >Emitted(14, 32) Source(2, 24) + SourceIndex(5)
  4 >Emitted(14, 33) Source(2, 25) + SourceIndex(5)
  5 >Emitted(14, 36) Source(2, 28) + SourceIndex(5)
  6 >Emitted(14, 39) Source(2, 31) + SourceIndex(5)
  7 >Emitted(14, 45) Source(2, 37) + SourceIndex(5)
  8 >Emitted(14, 47) Source(2, 39) + SourceIndex(5)
  9 >Emitted(14, 55) Source(2, 44) + SourceIndex(5)
  ---
  >>>//# sourceMappingURL=module.d.ts.map
  
  //// [/src/app/module.js]
  var __read = (this && this.__read) || function (o, n) {
      var m = typeof Symbol === "function" && o[Symbol.iterator];
      if (!m) return o;
      var i = m.call(o), r, ar = [], e;
      try {
          while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
      }
      catch (error) { e = { error: error }; }
      finally {
          try {
              if (r && !r.done && (m = i["return"])) m.call(i);
          }
          finally { if (e) throw e.error; }
      }
      return ar;
  };
  var __spread = (this && this.__spread) || function () {
      for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
      return ar;
  };
  var __rest = (this && this.__rest) || function (s, e) {
      var t = {};
      for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
          t[p] = s[p];
      if (s != null && typeof Object.getOwnPropertySymbols === "function")
          for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
              t[p[i]] = s[p[i]];
      return t;
  };
  var myGlob = 20;
  function libfile0Spread() {
      var b = [];
      for (var _i = 0; _i < arguments.length; _i++) {
          b[_i] = arguments[_i];
      }
  }
  libfile0Spread.apply(void 0, __spread([10, 20, 30]));
  define("file1", ["require", "exports"], function (require, exports) {
      "use strict";
      Object.defineProperty(exports, "__esModule", { value: true });
      exports.x = 10;
      function forlibfile1Rest() {
          var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, ["b"]);
      }
  });
  define("file2", ["require", "exports"], function (require, exports) {
      "use strict";
      Object.defineProperty(exports, "__esModule", { value: true });
      exports.y = 20;
  });
  var globalConst = 10;
  define("file3", ["require", "exports"], function (require, exports) {
      "use strict";
      Object.defineProperty(exports, "__esModule", { value: true });
      exports.z = 30;
      function forappfile3Rest() {
          var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, ["b"]);
      }
  });
  var myVar = 30;
  function appfile4Spread() {
      var b = [];
      for (var _i = 0; _i < arguments.length; _i++) {
          b[_i] = arguments[_i];
      }
  }
  appfile4Spread.apply(void 0, __spread([10, 20, 30]));
  //# sourceMappingURL=module.js.map
  
  //// [/src/app/module.js.map]
  {"version":3,"file":"module.js","sourceRoot":"","sources":["../lib/file0.ts","../lib/file1.ts","../lib/file2.ts","../lib/global.ts","file3.ts","file4.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,cAAc,wBAAI,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,GAAE;;;;ICFnB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,6BAAyC,EAAvC,QAAC,EAAE,wBAAoC,CAAC;IAChD,CAAC;;;;;ICFY,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;IACM,SAAS,eAAe;QAClD,IAAM,6BAAyC,EAAvC,QAAC,EAAE,wBAAoC,CAAC;IAChD,CAAC;;ACHD,IAAM,KAAK,GAAG,EAAE,CAAC;AACjB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,cAAc,wBAAI,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,GAAE"}
  
  //// [/src/app/module.js.map.baseline.txt]
  ===================================================================
  JsFile: module.js
  mapUrl: module.js.map
  sourceRoot: 
  sources: ../lib/file0.ts,../lib/file1.ts,../lib/file2.ts,../lib/global.ts,file3.ts,file4.ts
  ===================================================================
  -------------------------------------------------------------------
  emittedFile:/src/app/module.js
  sourceFile:../lib/file0.ts
  -------------------------------------------------------------------
  >>>var __read = (this && this.__read) || function (o, n) {
  >>>    var m = typeof Symbol === "function" && o[Symbol.iterator];
  >>>    if (!m) return o;
  >>>    var i = m.call(o), r, ar = [], e;
  >>>    try {
  >>>        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
  >>>    }
  >>>    catch (error) { e = { error: error }; }
  >>>    finally {
  >>>        try {
  >>>            if (r && !r.done && (m = i["return"])) m.call(i);
  >>>        }
  >>>        finally { if (e) throw e.error; }
  >>>    }
  >>>    return ar;
  >>>};
  >>>var __spread = (this && this.__spread) || function () {
  >>>    for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
  >>>    return ar;
  >>>};
  >>>var __rest = (this && this.__rest) || function (s, e) {
  >>>    var t = {};
  >>>    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
  >>>        t[p] = s[p];
  >>>    if (s != null && typeof Object.getOwnPropertySymbols === "function")
  >>>        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
  >>>            t[p[i]] = s[p[i]];
  >>>    return t;
  >>>};
  >>>var myGlob = 20;
  1 >
  2 >^^^^
  3 >    ^^^^^^
  4 >          ^^^
  5 >             ^^
  6 >               ^
  7 >                ^^^^^^^^^^^^->
  1 >
  2 >const 
  3 >    myGlob
  4 >           = 
  5 >             20
  6 >               ;
  1 >Emitted(30, 1) Source(1, 1) + SourceIndex(0)
  2 >Emitted(30, 5) Source(1, 7) + SourceIndex(0)
  3 >Emitted(30, 11) Source(1, 13) + SourceIndex(0)
  4 >Emitted(30, 14) Source(1, 16) + SourceIndex(0)
  5 >Emitted(30, 16) Source(1, 18) + SourceIndex(0)
  6 >Emitted(30, 17) Source(1, 19) + SourceIndex(0)
  ---
  >>>function libfile0Spread() {
  1->
  2 >^^^^^^^^^
  3 >         ^^^^^^^^^^^^^^
  1->
    >
  2 >function 
  3 >         libfile0Spread
  1->Emitted(31, 1) Source(2, 1) + SourceIndex(0)
  2 >Emitted(31, 10) Source(2, 10) + SourceIndex(0)
  3 >Emitted(31, 24) Source(2, 24) + SourceIndex(0)
  ---
  >>>    var b = [];
  1 >^^^^
  2 >    ^^^^^^^^^^^
  3 >               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
  1 >(
  2 >    ...b: number[]
  1 >Emitted(32, 5) Source(2, 25) + SourceIndex(0)
  2 >Emitted(32, 16) Source(2, 39) + SourceIndex(0)
  ---
  >>>    for (var _i = 0; _i < arguments.length; _i++) {
  1->^^^^^^^^^
  2 >         ^^^^^^^^^^
  3 >                   ^^
  4 >                     ^^^^^^^^^^^^^^^^^^^^^
  5 >                                          ^^
  6 >                                            ^^^^
  1->
  2 >         ...b: number[]
  3 >                   
  4 >                     ...b: number[]
  5 >                                          
  6 >                                            ...b: number[]
  1->Emitted(33, 10) Source(2, 25) + SourceIndex(0)
  2 >Emitted(33, 20) Source(2, 39) + SourceIndex(0)
  3 >Emitted(33, 22) Source(2, 25) + SourceIndex(0)
  4 >Emitted(33, 43) Source(2, 39) + SourceIndex(0)
  5 >Emitted(33, 45) Source(2, 25) + SourceIndex(0)
  6 >Emitted(33, 49) Source(2, 39) + SourceIndex(0)
  ---
  >>>        b[_i] = arguments[_i];
  1 >^^^^^^^^
  2 >        ^^^^^^^^^^^^^^^^^^^^^^
  1 >
  2 >        ...b: number[]
  1 >Emitted(34, 9) Source(2, 25) + SourceIndex(0)
  2 >Emitted(34, 31) Source(2, 39) + SourceIndex(0)
  ---
  >>>    }
  >>>}
  1 >
  2 >^
  3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
  1 >) { 
  2 >}
  1 >Emitted(36, 1) Source(2, 43) + SourceIndex(0)
  2 >Emitted(36, 2) Source(2, 44) + SourceIndex(0)
  ---
  >>>libfile0Spread.apply(void 0, __spread([10, 20, 30]));
  1->
  2 >^^^^^^^^^^^^^^
  3 >              ^^^^^^^^^^^^^^^^^^^^^^^^
  4 >                                      ^
  5 >                                       ^^
  6 >                                         ^^
  7 >                                           ^^
  8 >                                             ^^
  9 >                                               ^^
  10>                                                 ^
  11>                                                  ^^^
  12>                                                     ^^^^^^^^^^^^^^^^^->
  1->
    >
  2 >libfile0Spread
  3 >              (...
  4 >                                      [
  5 >                                       10
  6 >                                         , 
  7 >                                           20
  8 >                                             , 
  9 >                                               30
  10>                                                 ]
  11>                                                  );
  1->Emitted(37, 1) Source(3, 1) + SourceIndex(0)
  2 >Emitted(37, 15) Source(3, 15) + SourceIndex(0)
  3 >Emitted(37, 39) Source(3, 19) + SourceIndex(0)
  4 >Emitted(37, 40) Source(3, 20) + SourceIndex(0)
  5 >Emitted(37, 42) Source(3, 22) + SourceIndex(0)
  6 >Emitted(37, 44) Source(3, 24) + SourceIndex(0)
  7 >Emitted(37, 46) Source(3, 26) + SourceIndex(0)
  8 >Emitted(37, 48) Source(3, 28) + SourceIndex(0)
  9 >Emitted(37, 50) Source(3, 30) + SourceIndex(0)
  10>Emitted(37, 51) Source(3, 31) + SourceIndex(0)
  11>Emitted(37, 54) Source(3, 33) + SourceIndex(0)
  ---
  -------------------------------------------------------------------
  emittedFile:/src/app/module.js
  sourceFile:../lib/file1.ts
  -------------------------------------------------------------------
  >>>define("file1", ["require", "exports"], function (require, exports) {
  >>>    "use strict";
  >>>    Object.defineProperty(exports, "__esModule", { value: true });
  >>>    exports.x = 10;
  1->^^^^
  2 >    ^^^^^^^^
  3 >            ^
  4 >             ^^^
  5 >                ^^
  6 >                  ^
  7 >                   ^^^^^^^^^^^^^^->
  1->export const 
  2 >    
  3 >            x
  4 >              = 
  5 >                10
  6 >                  ;
  1->Emitted(41, 5) Source(1, 14) + SourceIndex(1)
  2 >Emitted(41, 13) Source(1, 14) + SourceIndex(1)
  3 >Emitted(41, 14) Source(1, 15) + SourceIndex(1)
  4 >Emitted(41, 17) Source(1, 18) + SourceIndex(1)
  5 >Emitted(41, 19) Source(1, 20) + SourceIndex(1)
  6 >Emitted(41, 20) Source(1, 21) + SourceIndex(1)
  ---
  >>>    function forlibfile1Rest() {
  1->^^^^
  2 >    ^^^^^^^^^
  3 >             ^^^^^^^^^^^^^^^
  4 >                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
  1->
  2 >    function 
  3 >             forlibfile1Rest
  1->Emitted(42, 5) Source(1, 21) + SourceIndex(1)
  2 >Emitted(42, 14) Source(1, 30) + SourceIndex(1)
  3 >Emitted(42, 29) Source(1, 45) + SourceIndex(1)
  ---
  >>>        var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, ["b"]);
  1->^^^^^^^^
  2 >        ^^^^
  3 >            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  4 >                                         ^^
  5 >                                           ^^^^^^^^
  6 >                                                   ^^
  7 >                                                     ^^^^^^^^^^^^^^^^^^^^^^^^
  8 >                                                                             ^
  1->() {
    >
  2 >        const 
  3 >            { b, ...rest } = { a: 10, b: 30, yy: 30 }
  4 >                                         
  5 >                                           b
  6 >                                                   , 
  7 >                                                     ...rest } = { a: 10, b: 30, yy: 30 }
  8 >                                                                             ;
  1->Emitted(43, 9) Source(2, 1) + SourceIndex(1)
  2 >Emitted(43, 13) Source(2, 7) + SourceIndex(1)
  3 >Emitted(43, 42) Source(2, 48) + SourceIndex(1)
  4 >Emitted(43, 44) Source(2, 9) + SourceIndex(1)
  5 >Emitted(43, 52) Source(2, 10) + SourceIndex(1)
  6 >Emitted(43, 54) Source(2, 12) + SourceIndex(1)
  7 >Emitted(43, 78) Source(2, 48) + SourceIndex(1)
  8 >Emitted(43, 79) Source(2, 49) + SourceIndex(1)
  ---
  >>>    }
  1 >^^^^
  2 >    ^
  1 >
    >
  2 >    }
  1 >Emitted(44, 5) Source(3, 1) + SourceIndex(1)
  2 >Emitted(44, 6) Source(3, 2) + SourceIndex(1)
  ---
  -------------------------------------------------------------------
  emittedFile:/src/app/module.js
  sourceFile:../lib/file2.ts
  -------------------------------------------------------------------
  >>>});
  >>>define("file2", ["require", "exports"], function (require, exports) {
  >>>    "use strict";
  >>>    Object.defineProperty(exports, "__esModule", { value: true });
  >>>    exports.y = 20;
  1 >^^^^
  2 >    ^^^^^^^^
  3 >            ^
  4 >             ^^^
  5 >                ^^
  6 >                  ^
  1 >export const 
  2 >    
  3 >            y
  4 >              = 
  5 >                20
  6 >                  ;
  1 >Emitted(49, 5) Source(1, 14) + SourceIndex(2)
  2 >Emitted(49, 13) Source(1, 14) + SourceIndex(2)
  3 >Emitted(49, 14) Source(1, 15) + SourceIndex(2)
  4 >Emitted(49, 17) Source(1, 18) + SourceIndex(2)
  5 >Emitted(49, 19) Source(1, 20) + SourceIndex(2)
  6 >Emitted(49, 20) Source(1, 21) + SourceIndex(2)
  ---
  -------------------------------------------------------------------
  emittedFile:/src/app/module.js
  sourceFile:../lib/global.ts
  -------------------------------------------------------------------
  >>>});
  >>>var globalConst = 10;
  1 >
  2 >^^^^
  3 >    ^^^^^^^^^^^
  4 >               ^^^
  5 >                  ^^
  6 >                    ^
  7 >                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
  1 >
  2 >const 
  3 >    globalConst
  4 >                = 
  5 >                  10
  6 >                    ;
  1 >Emitted(51, 1) Source(1, 1) + SourceIndex(3)
  2 >Emitted(51, 5) Source(1, 7) + SourceIndex(3)
  3 >Emitted(51, 16) Source(1, 18) + SourceIndex(3)
  4 >Emitted(51, 19) Source(1, 21) + SourceIndex(3)
  5 >Emitted(51, 21) Source(1, 23) + SourceIndex(3)
  6 >Emitted(51, 22) Source(1, 24) + SourceIndex(3)
  ---
  -------------------------------------------------------------------
  emittedFile:/src/app/module.js
  sourceFile:file3.ts
  -------------------------------------------------------------------
  >>>define("file3", ["require", "exports"], function (require, exports) {
  >>>    "use strict";
  >>>    Object.defineProperty(exports, "__esModule", { value: true });
  >>>    exports.z = 30;
  1->^^^^
  2 >    ^^^^^^^^
  3 >            ^
  4 >             ^^^
  5 >                ^^
  6 >                  ^
  7 >                   ^^^^^^^^^^^^^^->
  1->export const 
  2 >    
  3 >            z
  4 >              = 
  5 >                30
  6 >                  ;
  1->Emitted(55, 5) Source(1, 14) + SourceIndex(4)
  2 >Emitted(55, 13) Source(1, 14) + SourceIndex(4)
  3 >Emitted(55, 14) Source(1, 15) + SourceIndex(4)
  4 >Emitted(55, 17) Source(1, 18) + SourceIndex(4)
  5 >Emitted(55, 19) Source(1, 20) + SourceIndex(4)
  6 >Emitted(55, 20) Source(1, 21) + SourceIndex(4)
  ---
  >>>    function forappfile3Rest() {
  1->^^^^
  2 >    ^^^^^^^^^
  3 >             ^^^^^^^^^^^^^^^
  4 >                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
  1->
    >import { x } from "file1";
  2 >    function 
  3 >             forappfile3Rest
  1->Emitted(56, 5) Source(2, 27) + SourceIndex(4)
  2 >Emitted(56, 14) Source(2, 36) + SourceIndex(4)
  3 >Emitted(56, 29) Source(2, 51) + SourceIndex(4)
  ---
  >>>        var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, ["b"]);
  1->^^^^^^^^
  2 >        ^^^^
  3 >            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  4 >                                         ^^
  5 >                                           ^^^^^^^^
  6 >                                                   ^^
  7 >                                                     ^^^^^^^^^^^^^^^^^^^^^^^^
  8 >                                                                             ^
  1->() {
    >
  2 >        const 
  3 >            { b, ...rest } = { a: 10, b: 30, yy: 30 }
  4 >                                         
  5 >                                           b
  6 >                                                   , 
  7 >                                                     ...rest } = { a: 10, b: 30, yy: 30 }
  8 >                                                                             ;
  1->Emitted(57, 9) Source(3, 1) + SourceIndex(4)
  2 >Emitted(57, 13) Source(3, 7) + SourceIndex(4)
  3 >Emitted(57, 42) Source(3, 48) + SourceIndex(4)
  4 >Emitted(57, 44) Source(3, 9) + SourceIndex(4)
  5 >Emitted(57, 52) Source(3, 10) + SourceIndex(4)
  6 >Emitted(57, 54) Source(3, 12) + SourceIndex(4)
  7 >Emitted(57, 78) Source(3, 48) + SourceIndex(4)
  8 >Emitted(57, 79) Source(3, 49) + SourceIndex(4)
  ---
  >>>    }
  1 >^^^^
  2 >    ^
  1 >
    >
  2 >    }
  1 >Emitted(58, 5) Source(4, 1) + SourceIndex(4)
  2 >Emitted(58, 6) Source(4, 2) + SourceIndex(4)
  ---
  -------------------------------------------------------------------
  emittedFile:/src/app/module.js
  sourceFile:file4.ts
  -------------------------------------------------------------------
  >>>});
  >>>var myVar = 30;
  1 >
  2 >^^^^
  3 >    ^^^^^
  4 >         ^^^
  5 >            ^^
  6 >              ^
  7 >               ^^^^^^^^^^^^^->
  1 >
  2 >const 
  3 >    myVar
  4 >          = 
  5 >            30
  6 >              ;
  1 >Emitted(60, 1) Source(1, 1) + SourceIndex(5)
  2 >Emitted(60, 5) Source(1, 7) + SourceIndex(5)
  3 >Emitted(60, 10) Source(1, 12) + SourceIndex(5)
  4 >Emitted(60, 13) Source(1, 15) + SourceIndex(5)
  5 >Emitted(60, 15) Source(1, 17) + SourceIndex(5)
  6 >Emitted(60, 16) Source(1, 18) + SourceIndex(5)
  ---
  >>>function appfile4Spread() {
  1->
  2 >^^^^^^^^^
  3 >         ^^^^^^^^^^^^^^
  1->
    >
  2 >function 
  3 >         appfile4Spread
  1->Emitted(61, 1) Source(2, 1) + SourceIndex(5)
  2 >Emitted(61, 10) Source(2, 10) + SourceIndex(5)
  3 >Emitted(61, 24) Source(2, 24) + SourceIndex(5)
  ---
  >>>    var b = [];
  1 >^^^^
  2 >    ^^^^^^^^^^^
  3 >               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
  1 >(
  2 >    ...b: number[]
  1 >Emitted(62, 5) Source(2, 25) + SourceIndex(5)
  2 >Emitted(62, 16) Source(2, 39) + SourceIndex(5)
  ---
  >>>    for (var _i = 0; _i < arguments.length; _i++) {
  1->^^^^^^^^^
  2 >         ^^^^^^^^^^
  3 >                   ^^
  4 >                     ^^^^^^^^^^^^^^^^^^^^^
  5 >                                          ^^
  6 >                                            ^^^^
  1->
  2 >         ...b: number[]
  3 >                   
  4 >                     ...b: number[]
  5 >                                          
  6 >                                            ...b: number[]
  1->Emitted(63, 10) Source(2, 25) + SourceIndex(5)
  2 >Emitted(63, 20) Source(2, 39) + SourceIndex(5)
  3 >Emitted(63, 22) Source(2, 25) + SourceIndex(5)
  4 >Emitted(63, 43) Source(2, 39) + SourceIndex(5)
  5 >Emitted(63, 45) Source(2, 25) + SourceIndex(5)
  6 >Emitted(63, 49) Source(2, 39) + SourceIndex(5)
  ---
  >>>        b[_i] = arguments[_i];
  1 >^^^^^^^^
  2 >        ^^^^^^^^^^^^^^^^^^^^^^
  1 >
  2 >        ...b: number[]
  1 >Emitted(64, 9) Source(2, 25) + SourceIndex(5)
  2 >Emitted(64, 31) Source(2, 39) + SourceIndex(5)
  ---
  >>>    }
  >>>}
  1 >
  2 >^
  3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
  1 >) { 
  2 >}
  1 >Emitted(66, 1) Source(2, 43) + SourceIndex(5)
  2 >Emitted(66, 2) Source(2, 44) + SourceIndex(5)
  ---
  >>>appfile4Spread.apply(void 0, __spread([10, 20, 30]));
  1->
  2 >^^^^^^^^^^^^^^
  3 >              ^^^^^^^^^^^^^^^^^^^^^^^^
  4 >                                      ^
  5 >                                       ^^
  6 >                                         ^^
  7 >                                           ^^
  8 >                                             ^^
  9 >                                               ^^
  10>                                                 ^
  11>                                                  ^^^
  1->
    >
  2 >appfile4Spread
  3 >              (...
  4 >                                      [
  5 >                                       10
  6 >                                         , 
  7 >                                           20
  8 >                                             , 
  9 >                                               30
  10>                                                 ]
  11>                                                  );
  1->Emitted(67, 1) Source(3, 1) + SourceIndex(5)
  2 >Emitted(67, 15) Source(3, 15) + SourceIndex(5)
  3 >Emitted(67, 39) Source(3, 19) + SourceIndex(5)
  4 >Emitted(67, 40) Source(3, 20) + SourceIndex(5)
  5 >Emitted(67, 42) Source(3, 22) + SourceIndex(5)
  6 >Emitted(67, 44) Source(3, 24) + SourceIndex(5)
  7 >Emitted(67, 46) Source(3, 26) + SourceIndex(5)
  8 >Emitted(67, 48) Source(3, 28) + SourceIndex(5)
  9 >Emitted(67, 50) Source(3, 30) + SourceIndex(5)
  10>Emitted(67, 51) Source(3, 31) + SourceIndex(5)
  11>Emitted(67, 54) Source(3, 33) + SourceIndex(5)
  ---
  >>>//# sourceMappingURL=module.js.map
  
  //// [/src/app/module.tsbuildinfo]
  {
    "bundle": {
      "commonSourceDirectory": "/src/app/",
      "sourceFiles": [
        "/src/app/file3.ts",
        "/src/app/file4.ts"
      ],
      "js": {
        "sections": [
          {
            "pos": 0,
            "end": 504,
            "kind": "emitHelpers",
            "data": "typescript:read"
          },
          {
            "pos": 506,
            "end": 676,
            "kind": "emitHelpers",
            "data": "typescript:spread"
          },
          {
            "pos": 678,
            "end": 1093,
            "kind": "emitHelpers",
            "data": "typescript:rest"
          },
          {
            "pos": 1095,
            "end": 1821,
            "kind": "prepend",
            "data": "/src/lib/module.js",
            "texts": [
              {
                "pos": 1095,
                "end": 1821,
                "kind": "text"
              }
            ]
          },
          {
            "pos": 1821,
            "end": 2339,
            "kind": "text"
          }
        ],
        "sources": {
          "helpers": [
            "typescript:rest",
            "typescript:read",
            "typescript:spread"
          ]
        }
      },
      "dts": {
        "sections": [
          {
            "pos": 0,
            "end": 227,
            "kind": "prepend",
            "data": "/src/lib/module.d.ts",
            "texts": [
              {
                "pos": 0,
                "end": 227,
                "kind": "text"
              }
            ]
          },
          {
            "pos": 227,
            "end": 365,
            "kind": "text"
          }
        ]
      }
    },
    "version": "FakeTSVersion"
  }
  
  //// [/src/app/module.tsbuildinfo.baseline.txt]
  ======================================================================
  File:: /src/app/module.js
  ----------------------------------------------------------------------
  emitHelpers: (0-504):: typescript:read
  var __read = (this && this.__read) || function (o, n) {
      var m = typeof Symbol === "function" && o[Symbol.iterator];
      if (!m) return o;
      var i = m.call(o), r, ar = [], e;
      try {
          while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
      }
      catch (error) { e = { error: error }; }
      finally {
          try {
              if (r && !r.done && (m = i["return"])) m.call(i);
          }
          finally { if (e) throw e.error; }
      }
      return ar;
  };
  ----------------------------------------------------------------------
  emitHelpers: (506-676):: typescript:spread
  var __spread = (this && this.__spread) || function () {
      for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
      return ar;
  };
  ----------------------------------------------------------------------
  emitHelpers: (678-1093):: typescript:rest
  var __rest = (this && this.__rest) || function (s, e) {
      var t = {};
      for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
          t[p] = s[p];
      if (s != null && typeof Object.getOwnPropertySymbols === "function")
          for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
              t[p[i]] = s[p[i]];
      return t;
  };
  ----------------------------------------------------------------------
  prepend: (1095-1821):: /src/lib/module.js texts:: 1
  >>--------------------------------------------------------------------
  text: (1095-1821)
  var myGlob = 20;
  function libfile0Spread() {
      var b = [];
      for (var _i = 0; _i < arguments.length; _i++) {
          b[_i] = arguments[_i];
      }
  }
  libfile0Spread.apply(void 0, __spread([10, 20, 30]));
  define("file1", ["require", "exports"], function (require, exports) {
      "use strict";
      Object.defineProperty(exports, "__esModule", { value: true });
      exports.x = 10;
      function forlibfile1Rest() {
          var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, ["b"]);
      }
  });
  define("file2", ["require", "exports"], function (require, exports) {
      "use strict";
      Object.defineProperty(exports, "__esModule", { value: true });
      exports.y = 20;
  });
  var globalConst = 10;
  
  ----------------------------------------------------------------------
  text: (1821-2339)
  define("file3", ["require", "exports"], function (require, exports) {
      "use strict";
      Object.defineProperty(exports, "__esModule", { value: true });
      exports.z = 30;
      function forappfile3Rest() {
          var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, ["b"]);
      }
  });
  var myVar = 30;
  function appfile4Spread() {
      var b = [];
      for (var _i = 0; _i < arguments.length; _i++) {
          b[_i] = arguments[_i];
      }
  }
  appfile4Spread.apply(void 0, __spread([10, 20, 30]));
  
  ======================================================================
  ======================================================================
  File:: /src/app/module.d.ts
  ----------------------------------------------------------------------
  prepend: (0-227):: /src/lib/module.d.ts texts:: 1
  >>--------------------------------------------------------------------
  text: (0-227)
  declare const myGlob = 20;
  declare function libfile0Spread(...b: number[]): void;
  declare module "file1" {
      export const x = 10;
  }
  declare module "file2" {
      export const y = 20;
  }
  declare const globalConst = 10;
  
  ----------------------------------------------------------------------
  text: (227-365)
  declare module "file3" {
      export const z = 30;
  }
  declare const myVar = 30;
  declare function appfile4Spread(...b: number[]): void;
  
  ======================================================================
  
  //// [/src/app/tsconfig.json]
  {
      "compilerOptions": {
          "target": "es5",
          "module": "amd",
          "composite": true,
          "strict": false,
      "downlevelIteration": true,
          "sourceMap": true,
          "declarationMap": true,
          "outFile": "module.js"
      },
      "exclude": ["module.d.ts"]
      "references": [
          { "path": "../lib", "prepend": true }
      ]
  }
  
  //// [/src/lib/file0.ts]
  const myGlob = 20;
  function libfile0Spread(...b: number[]) { }
  libfile0Spread(...[10, 20, 30]);
  
  //// [/src/lib/file1.ts]
  export const x = 10;function forlibfile1Rest() {
  const { b, ...rest } = { a: 10, b: 30, yy: 30 };
  }
  
  //// [/src/lib/module.d.ts]
  declare const myGlob = 20;
  declare function libfile0Spread(...b: number[]): void;
  declare module "file1" {
      export const x = 10;
  }
  declare module "file2" {
      export const y = 20;
  }
  declare const globalConst = 10;
  //# sourceMappingURL=module.d.ts.map
  
  //// [/src/lib/module.d.ts.map]
  {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["file0.ts","file1.ts","file2.ts","global.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;;ICD3C,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC"}
  
  //// [/src/lib/module.d.ts.map.baseline.txt]
  ===================================================================
  JsFile: module.d.ts
  mapUrl: module.d.ts.map
  sourceRoot: 
  sources: file0.ts,file1.ts,file2.ts,global.ts
  ===================================================================
  -------------------------------------------------------------------
  emittedFile:/src/lib/module.d.ts
  sourceFile:file0.ts
  -------------------------------------------------------------------
  >>>declare const myGlob = 20;
  1 >
  2 >^^^^^^^^
  3 >        ^^^^^^
  4 >              ^^^^^^
  5 >                    ^^^^^
  6 >                         ^
  7 >                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
  1 >
  2 >
  3 >        const 
  4 >              myGlob
  5 >                     = 20
  6 >                         ;
  1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
  2 >Emitted(1, 9) Source(1, 1) + SourceIndex(0)
  3 >Emitted(1, 15) Source(1, 7) + SourceIndex(0)
  4 >Emitted(1, 21) Source(1, 13) + SourceIndex(0)
  5 >Emitted(1, 26) Source(1, 18) + SourceIndex(0)
  6 >Emitted(1, 27) Source(1, 19) + SourceIndex(0)
  ---
  >>>declare function libfile0Spread(...b: number[]): void;
  1->
  2 >^^^^^^^^^^^^^^^^^
  3 >                 ^^^^^^^^^^^^^^
  4 >                               ^
  5 >                                ^^^
  6 >                                   ^^^
  7 >                                      ^^^^^^
  8 >                                            ^^
  9 >                                              ^^^^^^^^
  1->
    >
  2 >function 
  3 >                 libfile0Spread
  4 >                               (
  5 >                                ...
  6 >                                   b: 
  7 >                                      number
  8 >                                            []
  9 >                                              ) { }
  1->Emitted(2, 1) Source(2, 1) + SourceIndex(0)
  2 >Emitted(2, 18) Source(2, 10) + SourceIndex(0)
  3 >Emitted(2, 32) Source(2, 24) + SourceIndex(0)
  4 >Emitted(2, 33) Source(2, 25) + SourceIndex(0)
  5 >Emitted(2, 36) Source(2, 28) + SourceIndex(0)
  6 >Emitted(2, 39) Source(2, 31) + SourceIndex(0)
  7 >Emitted(2, 45) Source(2, 37) + SourceIndex(0)
  8 >Emitted(2, 47) Source(2, 39) + SourceIndex(0)
  9 >Emitted(2, 55) Source(2, 44) + SourceIndex(0)
  ---
  -------------------------------------------------------------------
  emittedFile:/src/lib/module.d.ts
  sourceFile:file1.ts
  -------------------------------------------------------------------
  >>>declare module "file1" {
  >>>    export const x = 10;
  1 >^^^^
  2 >    ^^^^^^
  3 >          ^
  4 >           ^^^^^^
  5 >                 ^
  6 >                  ^^^^^
  7 >                       ^
  1 >
  2 >    export
  3 >           
  4 >           const 
  5 >                 x
  6 >                   = 10
  7 >                       ;
  1 >Emitted(4, 5) Source(1, 1) + SourceIndex(1)
  2 >Emitted(4, 11) Source(1, 7) + SourceIndex(1)
  3 >Emitted(4, 12) Source(1, 8) + SourceIndex(1)
  4 >Emitted(4, 18) Source(1, 14) + SourceIndex(1)
  5 >Emitted(4, 19) Source(1, 15) + SourceIndex(1)
  6 >Emitted(4, 24) Source(1, 20) + SourceIndex(1)
  7 >Emitted(4, 25) Source(1, 21) + SourceIndex(1)
  ---
  -------------------------------------------------------------------
  emittedFile:/src/lib/module.d.ts
  sourceFile:file2.ts
  -------------------------------------------------------------------
  >>>}
  >>>declare module "file2" {
  >>>    export const y = 20;
  1 >^^^^
  2 >    ^^^^^^
  3 >          ^
  4 >           ^^^^^^
  5 >                 ^
  6 >                  ^^^^^
  7 >                       ^
  1 >
  2 >    export
  3 >           
  4 >           const 
  5 >                 y
  6 >                   = 20
  7 >                       ;
  1 >Emitted(7, 5) Source(1, 1) + SourceIndex(2)
  2 >Emitted(7, 11) Source(1, 7) + SourceIndex(2)
  3 >Emitted(7, 12) Source(1, 8) + SourceIndex(2)
  4 >Emitted(7, 18) Source(1, 14) + SourceIndex(2)
  5 >Emitted(7, 19) Source(1, 15) + SourceIndex(2)
  6 >Emitted(7, 24) Source(1, 20) + SourceIndex(2)
  7 >Emitted(7, 25) Source(1, 21) + SourceIndex(2)
  ---
  -------------------------------------------------------------------
  emittedFile:/src/lib/module.d.ts
  sourceFile:global.ts
  -------------------------------------------------------------------
  >>>}
  >>>declare const globalConst = 10;
  1 >
  2 >^^^^^^^^
  3 >        ^^^^^^
  4 >              ^^^^^^^^^^^
  5 >                         ^^^^^
  6 >                              ^
  7 >                               ^^^^->
  1 >
  2 >
  3 >        const 
  4 >              globalConst
  5 >                          = 10
  6 >                              ;
  1 >Emitted(9, 1) Source(1, 1) + SourceIndex(3)
  2 >Emitted(9, 9) Source(1, 1) + SourceIndex(3)
  3 >Emitted(9, 15) Source(1, 7) + SourceIndex(3)
  4 >Emitted(9, 26) Source(1, 18) + SourceIndex(3)
  5 >Emitted(9, 31) Source(1, 23) + SourceIndex(3)
  6 >Emitted(9, 32) Source(1, 24) + SourceIndex(3)
  ---
  >>>//# sourceMappingURL=module.d.ts.map
  
  //// [/src/lib/module.js]
  var __read = (this && this.__read) || function (o, n) {
      var m = typeof Symbol === "function" && o[Symbol.iterator];
      if (!m) return o;
      var i = m.call(o), r, ar = [], e;
      try {
          while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
      }
      catch (error) { e = { error: error }; }
      finally {
          try {
              if (r && !r.done && (m = i["return"])) m.call(i);
          }
          finally { if (e) throw e.error; }
      }
      return ar;
  };
  var __spread = (this && this.__spread) || function () {
      for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
      return ar;
  };
  var __rest = (this && this.__rest) || function (s, e) {
      var t = {};
      for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
          t[p] = s[p];
      if (s != null && typeof Object.getOwnPropertySymbols === "function")
          for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
              t[p[i]] = s[p[i]];
      return t;
  };
  var myGlob = 20;
  function libfile0Spread() {
      var b = [];
      for (var _i = 0; _i < arguments.length; _i++) {
          b[_i] = arguments[_i];
      }
  }
  libfile0Spread.apply(void 0, __spread([10, 20, 30]));
  define("file1", ["require", "exports"], function (require, exports) {
      "use strict";
      Object.defineProperty(exports, "__esModule", { value: true });
      exports.x = 10;
      function forlibfile1Rest() {
          var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, ["b"]);
      }
  });
  define("file2", ["require", "exports"], function (require, exports) {
      "use strict";
      Object.defineProperty(exports, "__esModule", { value: true });
      exports.y = 20;
  });
  var globalConst = 10;
  //# sourceMappingURL=module.js.map
  
  //// [/src/lib/module.js.map]
  {"version":3,"file":"module.js","sourceRoot":"","sources":["file0.ts","file1.ts","file2.ts","global.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,cAAc,wBAAI,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,GAAE;;;;ICFnB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,6BAAyC,EAAvC,QAAC,EAAE,wBAAoC,CAAC;IAChD,CAAC;;;;;ICFY,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC"}
  
  //// [/src/lib/module.js.map.baseline.txt]
  ===================================================================
  JsFile: module.js
  mapUrl: module.js.map
  sourceRoot: 
  sources: file0.ts,file1.ts,file2.ts,global.ts
  ===================================================================
  -------------------------------------------------------------------
  emittedFile:/src/lib/module.js
  sourceFile:file0.ts
  -------------------------------------------------------------------
  >>>var __read = (this && this.__read) || function (o, n) {
  >>>    var m = typeof Symbol === "function" && o[Symbol.iterator];
  >>>    if (!m) return o;
  >>>    var i = m.call(o), r, ar = [], e;
  >>>    try {
  >>>        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
  >>>    }
  >>>    catch (error) { e = { error: error }; }
  >>>    finally {
  >>>        try {
  >>>            if (r && !r.done && (m = i["return"])) m.call(i);
  >>>        }
  >>>        finally { if (e) throw e.error; }
  >>>    }
  >>>    return ar;
  >>>};
  >>>var __spread = (this && this.__spread) || function () {
  >>>    for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
  >>>    return ar;
  >>>};
  >>>var __rest = (this && this.__rest) || function (s, e) {
  >>>    var t = {};
  >>>    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
  >>>        t[p] = s[p];
  >>>    if (s != null && typeof Object.getOwnPropertySymbols === "function")
  >>>        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
  >>>            t[p[i]] = s[p[i]];
  >>>    return t;
  >>>};
  >>>var myGlob = 20;
  1 >
  2 >^^^^
  3 >    ^^^^^^
  4 >          ^^^
  5 >             ^^
  6 >               ^
  7 >                ^^^^^^^^^^^^->
  1 >
  2 >const 
  3 >    myGlob
  4 >           = 
  5 >             20
  6 >               ;
  1 >Emitted(30, 1) Source(1, 1) + SourceIndex(0)
  2 >Emitted(30, 5) Source(1, 7) + SourceIndex(0)
  3 >Emitted(30, 11) Source(1, 13) + SourceIndex(0)
  4 >Emitted(30, 14) Source(1, 16) + SourceIndex(0)
  5 >Emitted(30, 16) Source(1, 18) + SourceIndex(0)
  6 >Emitted(30, 17) Source(1, 19) + SourceIndex(0)
  ---
  >>>function libfile0Spread() {
  1->
  2 >^^^^^^^^^
  3 >         ^^^^^^^^^^^^^^
  1->
    >
  2 >function 
  3 >         libfile0Spread
  1->Emitted(31, 1) Source(2, 1) + SourceIndex(0)
  2 >Emitted(31, 10) Source(2, 10) + SourceIndex(0)
  3 >Emitted(31, 24) Source(2, 24) + SourceIndex(0)
  ---
  >>>    var b = [];
  1 >^^^^
  2 >    ^^^^^^^^^^^
  3 >               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
  1 >(
  2 >    ...b: number[]
  1 >Emitted(32, 5) Source(2, 25) + SourceIndex(0)
  2 >Emitted(32, 16) Source(2, 39) + SourceIndex(0)
  ---
  >>>    for (var _i = 0; _i < arguments.length; _i++) {
  1->^^^^^^^^^
  2 >         ^^^^^^^^^^
  3 >                   ^^
  4 >                     ^^^^^^^^^^^^^^^^^^^^^
  5 >                                          ^^
  6 >                                            ^^^^
  1->
  2 >         ...b: number[]
  3 >                   
  4 >                     ...b: number[]
  5 >                                          
  6 >                                            ...b: number[]
  1->Emitted(33, 10) Source(2, 25) + SourceIndex(0)
  2 >Emitted(33, 20) Source(2, 39) + SourceIndex(0)
  3 >Emitted(33, 22) Source(2, 25) + SourceIndex(0)
  4 >Emitted(33, 43) Source(2, 39) + SourceIndex(0)
  5 >Emitted(33, 45) Source(2, 25) + SourceIndex(0)
  6 >Emitted(33, 49) Source(2, 39) + SourceIndex(0)
  ---
  >>>        b[_i] = arguments[_i];
  1 >^^^^^^^^
  2 >        ^^^^^^^^^^^^^^^^^^^^^^
  1 >
  2 >        ...b: number[]
  1 >Emitted(34, 9) Source(2, 25) + SourceIndex(0)
  2 >Emitted(34, 31) Source(2, 39) + SourceIndex(0)
  ---
  >>>    }
  >>>}
  1 >
  2 >^
  3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
  1 >) { 
  2 >}
  1 >Emitted(36, 1) Source(2, 43) + SourceIndex(0)
  2 >Emitted(36, 2) Source(2, 44) + SourceIndex(0)
  ---
  >>>libfile0Spread.apply(void 0, __spread([10, 20, 30]));
  1->
  2 >^^^^^^^^^^^^^^
  3 >              ^^^^^^^^^^^^^^^^^^^^^^^^
  4 >                                      ^
  5 >                                       ^^
  6 >                                         ^^
  7 >                                           ^^
  8 >                                             ^^
  9 >                                               ^^
  10>                                                 ^
  11>                                                  ^^^
  12>                                                     ^^^^^^^^^^^^^^^^^->
  1->
    >
  2 >libfile0Spread
  3 >              (...
  4 >                                      [
  5 >                                       10
  6 >                                         , 
  7 >                                           20
  8 >                                             , 
  9 >                                               30
  10>                                                 ]
  11>                                                  );
  1->Emitted(37, 1) Source(3, 1) + SourceIndex(0)
  2 >Emitted(37, 15) Source(3, 15) + SourceIndex(0)
  3 >Emitted(37, 39) Source(3, 19) + SourceIndex(0)
  4 >Emitted(37, 40) Source(3, 20) + SourceIndex(0)
  5 >Emitted(37, 42) Source(3, 22) + SourceIndex(0)
  6 >Emitted(37, 44) Source(3, 24) + SourceIndex(0)
  7 >Emitted(37, 46) Source(3, 26) + SourceIndex(0)
  8 >Emitted(37, 48) Source(3, 28) + SourceIndex(0)
  9 >Emitted(37, 50) Source(3, 30) + SourceIndex(0)
  10>Emitted(37, 51) Source(3, 31) + SourceIndex(0)
  11>Emitted(37, 54) Source(3, 33) + SourceIndex(0)
  ---
  -------------------------------------------------------------------
  emittedFile:/src/lib/module.js
  sourceFile:file1.ts
  -------------------------------------------------------------------
  >>>define("file1", ["require", "exports"], function (require, exports) {
  >>>    "use strict";
  >>>    Object.defineProperty(exports, "__esModule", { value: true });
  >>>    exports.x = 10;
  1->^^^^
  2 >    ^^^^^^^^
  3 >            ^
  4 >             ^^^
  5 >                ^^
  6 >                  ^
  7 >                   ^^^^^^^^^^^^^^->
  1->export const 
  2 >    
  3 >            x
  4 >              = 
  5 >                10
  6 >                  ;
  1->Emitted(41, 5) Source(1, 14) + SourceIndex(1)
  2 >Emitted(41, 13) Source(1, 14) + SourceIndex(1)
  3 >Emitted(41, 14) Source(1, 15) + SourceIndex(1)
  4 >Emitted(41, 17) Source(1, 18) + SourceIndex(1)
  5 >Emitted(41, 19) Source(1, 20) + SourceIndex(1)
  6 >Emitted(41, 20) Source(1, 21) + SourceIndex(1)
  ---
  >>>    function forlibfile1Rest() {
  1->^^^^
  2 >    ^^^^^^^^^
  3 >             ^^^^^^^^^^^^^^^
  4 >                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
  1->
  2 >    function 
  3 >             forlibfile1Rest
  1->Emitted(42, 5) Source(1, 21) + SourceIndex(1)
  2 >Emitted(42, 14) Source(1, 30) + SourceIndex(1)
  3 >Emitted(42, 29) Source(1, 45) + SourceIndex(1)
  ---
  >>>        var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, ["b"]);
  1->^^^^^^^^
  2 >        ^^^^
  3 >            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  4 >                                         ^^
  5 >                                           ^^^^^^^^
  6 >                                                   ^^
  7 >                                                     ^^^^^^^^^^^^^^^^^^^^^^^^
  8 >                                                                             ^
  1->() {
    >
  2 >        const 
  3 >            { b, ...rest } = { a: 10, b: 30, yy: 30 }
  4 >                                         
  5 >                                           b
  6 >                                                   , 
  7 >                                                     ...rest } = { a: 10, b: 30, yy: 30 }
  8 >                                                                             ;
  1->Emitted(43, 9) Source(2, 1) + SourceIndex(1)
  2 >Emitted(43, 13) Source(2, 7) + SourceIndex(1)
  3 >Emitted(43, 42) Source(2, 48) + SourceIndex(1)
  4 >Emitted(43, 44) Source(2, 9) + SourceIndex(1)
  5 >Emitted(43, 52) Source(2, 10) + SourceIndex(1)
  6 >Emitted(43, 54) Source(2, 12) + SourceIndex(1)
  7 >Emitted(43, 78) Source(2, 48) + SourceIndex(1)
  8 >Emitted(43, 79) Source(2, 49) + SourceIndex(1)
  ---
  >>>    }
  1 >^^^^
  2 >    ^
  1 >
    >
  2 >    }
  1 >Emitted(44, 5) Source(3, 1) + SourceIndex(1)
  2 >Emitted(44, 6) Source(3, 2) + SourceIndex(1)
  ---
  -------------------------------------------------------------------
  emittedFile:/src/lib/module.js
  sourceFile:file2.ts
  -------------------------------------------------------------------
  >>>});
  >>>define("file2", ["require", "exports"], function (require, exports) {
  >>>    "use strict";
  >>>    Object.defineProperty(exports, "__esModule", { value: true });
  >>>    exports.y = 20;
  1 >^^^^
  2 >    ^^^^^^^^
  3 >            ^
  4 >             ^^^
  5 >                ^^
  6 >                  ^
  1 >export const 
  2 >    
  3 >            y
  4 >              = 
  5 >                20
  6 >                  ;
  1 >Emitted(49, 5) Source(1, 14) + SourceIndex(2)
  2 >Emitted(49, 13) Source(1, 14) + SourceIndex(2)
  3 >Emitted(49, 14) Source(1, 15) + SourceIndex(2)
  4 >Emitted(49, 17) Source(1, 18) + SourceIndex(2)
  5 >Emitted(49, 19) Source(1, 20) + SourceIndex(2)
  6 >Emitted(49, 20) Source(1, 21) + SourceIndex(2)
  ---
  -------------------------------------------------------------------
  emittedFile:/src/lib/module.js
  sourceFile:global.ts
  -------------------------------------------------------------------
  >>>});
  >>>var globalConst = 10;
  1 >
  2 >^^^^
  3 >    ^^^^^^^^^^^
  4 >               ^^^
  5 >                  ^^
  6 >                    ^
  7 >                     ^^^^^^^^^^^^->
  1 >
  2 >const 
  3 >    globalConst
  4 >                = 
  5 >                  10
  6 >                    ;
  1 >Emitted(51, 1) Source(1, 1) + SourceIndex(3)
  2 >Emitted(51, 5) Source(1, 7) + SourceIndex(3)
  3 >Emitted(51, 16) Source(1, 18) + SourceIndex(3)
  4 >Emitted(51, 19) Source(1, 21) + SourceIndex(3)
  5 >Emitted(51, 21) Source(1, 23) + SourceIndex(3)
  6 >Emitted(51, 22) Source(1, 24) + SourceIndex(3)
  ---
  >>>//# sourceMappingURL=module.js.map
  
  //// [/src/lib/module.tsbuildinfo]
  {
    "bundle": {
      "commonSourceDirectory": "/src/lib/",
      "sourceFiles": [
        "/src/lib/file0.ts",
        "/src/lib/file1.ts",
        "/src/lib/file2.ts",
        "/src/lib/global.ts"
      ],
      "js": {
        "sections": [
          {
            "pos": 0,
            "end": 504,
            "kind": "emitHelpers",
            "data": "typescript:read"
          },
          {
            "pos": 506,
            "end": 676,
            "kind": "emitHelpers",
            "data": "typescript:spread"
          },
          {
            "pos": 678,
            "end": 1093,
            "kind": "emitHelpers",
            "data": "typescript:rest"
          },
          {
            "pos": 1095,
            "end": 1821,
            "kind": "text"
          }
        ],
        "sources": {
          "helpers": [
            "typescript:read",
            "typescript:spread",
            "typescript:rest"
          ]
        }
      },
      "dts": {
        "sections": [
          {
            "pos": 0,
            "end": 227,
            "kind": "text"
          }
        ]
      }
    },
    "version": "FakeTSVersion"
  }
  
  //// [/src/lib/module.tsbuildinfo.baseline.txt]
  ======================================================================
  File:: /src/lib/module.js
  ----------------------------------------------------------------------
  emitHelpers: (0-504):: typescript:read
  var __read = (this && this.__read) || function (o, n) {
      var m = typeof Symbol === "function" && o[Symbol.iterator];
      if (!m) return o;
      var i = m.call(o), r, ar = [], e;
      try {
          while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
      }
      catch (error) { e = { error: error }; }
      finally {
          try {
              if (r && !r.done && (m = i["return"])) m.call(i);
          }
          finally { if (e) throw e.error; }
      }
      return ar;
  };
  ----------------------------------------------------------------------
  emitHelpers: (506-676):: typescript:spread
  var __spread = (this && this.__spread) || function () {
      for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
      return ar;
  };
  ----------------------------------------------------------------------
  emitHelpers: (678-1093):: typescript:rest
  var __rest = (this && this.__rest) || function (s, e) {
      var t = {};
      for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
          t[p] = s[p];
      if (s != null && typeof Object.getOwnPropertySymbols === "function")
          for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
              t[p[i]] = s[p[i]];
      return t;
  };
  ----------------------------------------------------------------------
  text: (1095-1821)
  var myGlob = 20;
  function libfile0Spread() {
      var b = [];
      for (var _i = 0; _i < arguments.length; _i++) {
          b[_i] = arguments[_i];
      }
  }
  libfile0Spread.apply(void 0, __spread([10, 20, 30]));
  define("file1", ["require", "exports"], function (require, exports) {
      "use strict";
      Object.defineProperty(exports, "__esModule", { value: true });
      exports.x = 10;
      function forlibfile1Rest() {
          var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, ["b"]);
      }
  });
  define("file2", ["require", "exports"], function (require, exports) {
      "use strict";
      Object.defineProperty(exports, "__esModule", { value: true });
      exports.y = 20;
  });
  var globalConst = 10;
  
  ======================================================================
  ======================================================================
  File:: /src/lib/module.d.ts
  ----------------------------------------------------------------------
  text: (0-227)
  declare const myGlob = 20;
  declare function libfile0Spread(...b: number[]): void;
  declare module "file1" {
      export const x = 10;
  }
  declare module "file2" {
      export const y = 20;
  }
  declare const globalConst = 10;
  
  ======================================================================
  
  //// [/src/lib/tsconfig.json]
  {
      "compilerOptions": {
          "target": "es5",
          "module": "amd",
          "composite": true,
          "sourceMap": true,
          "declarationMap": true,
          "strict": false,
      "downlevelIteration": true,
          "outFile": "module.js"
      },
      "exclude": ["module.d.ts"]
  
  }
  
  