1+ //// [/src/core/anotherModule.d.ts]
2+ export declare const World = "hello" ;
3+ //# sourceMappingURL=anotherModule.d.ts.map
4+
5+ //// [/src/core/anotherModule.d.ts.map]
6+ { "version" :3 , "file" :"anotherModule.d.ts" , "sourceRoot" :"" , "sources" :[ "anotherModule.ts" ] , "names" :[ ] , "mappings" :"AAAA,eAAO,MAAM,KAAK,UAAU,CAAC" }
7+
18//// [/src/core/anotherModule.js]
29"use strict" ;
310exports . __esModule = true ;
411exports . World = "hello" ;
512
613
14+ //// [/src/core/index.d.ts]
15+ export declare const someString : string ;
16+ export declare function leftPad ( s : string , n : number) : string ;
17+ export declare function multiply ( a : number , b : number) : number ;
18+ //# sourceMappingURL=index.d.ts.map
19+
20+ //// [/src/core/index.d.ts.map]
21+ { "version" :3 , "file" :"index.d.ts" , "sourceRoot" :"" , "sources" :[ "index.ts" ] , "names" :[ ] , "mappings" :"AAAA,eAAO,MAAM,UAAU,EAAE,MAAsB,CAAC;AAChD,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB;AAC/D,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAAmB" }
22+
723//// [/src/core/index.js]
824"use strict" ;
925exports . __esModule = true ;
@@ -14,6 +30,52 @@ function multiply(a, b) { return a * b; }
1430exports . multiply = multiply ;
1531
1632
33+ //// [/src/core/tsconfig.tsbuildinfo]
34+ {
35+ "program" : {
36+ "fileInfos" : {
37+ "../../lib/lib.d.ts" : {
38+ "version" : "-15964756381" ,
39+ "signature" : "-15964756381"
40+ } ,
41+ "./anothermodule.ts" : {
42+ "version" : "-2676574883" ,
43+ "signature" : "25219880154"
44+ } ,
45+ "./index.ts" : {
46+ "version" : "-18749805970" ,
47+ "signature" : "11051732871"
48+ } ,
49+ "./some_decl.d.ts" : {
50+ "version" : "-9253692965" ,
51+ "signature" : "-9253692965"
52+ }
53+ } ,
54+ "options" : {
55+ "composite" : true ,
56+ "declaration" : true ,
57+ "declarationMap" : true ,
58+ "skipDefaultLibCheck" : true ,
59+ "configFilePath" : "./tsconfig.json"
60+ } ,
61+ "referencedMap" : { } ,
62+ "exportedModulesMap" : { } ,
63+ "semanticDiagnosticsPerFile" : [
64+ "../../lib/lib.d.ts" ,
65+ "./anothermodule.ts" ,
66+ "./index.ts" ,
67+ "./some_decl.d.ts"
68+ ]
69+ } ,
70+ "version" : "FakeTSVersion"
71+ }
72+
73+ //// [/src/logic/index.d.ts]
74+ export declare function getSecondsInDay ( ) : number ;
75+ import * as mod from '../core/anotherModule' ;
76+ export declare const m : typeof mod ;
77+
78+
1779//// [/src/logic/index.js]
1880"use strict" ;
1981exports . __esModule = true ;
@@ -24,6 +86,64 @@ function getSecondsInDay() {
2486exports . getSecondsInDay = getSecondsInDay ;
2587var mod = require ( "../core/anotherModule" ) ;
2688exports . m = mod ;
89+ //# sourceMappingURL=index.js.map
90+
91+ //// [/src/logic/index.js.map]
92+ { "version" :3 , "file" :"index.js" , "sourceRoot" :"" , "sources" :[ "index.ts" ] , "names" :[ ] , "mappings" :";;AAAA,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AAFD,0CAEC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC" }
93+
94+ //// [/src/logic/tsconfig.tsbuildinfo]
95+ {
96+ "program" : {
97+ "fileInfos" : {
98+ "../../lib/lib.d.ts" : {
99+ "version" : "-15964756381" ,
100+ "signature" : "-15964756381"
101+ } ,
102+ "../core/index.ts" : {
103+ "version" : "-13851440507" ,
104+ "signature" : "-13851440507"
105+ } ,
106+ "../core/anothermodule.ts" : {
107+ "version" : "7652028357" ,
108+ "signature" : "7652028357"
109+ } ,
110+ "./index.ts" : {
111+ "version" : "-5786964698" ,
112+ "signature" : "-6548680073"
113+ }
114+ } ,
115+ "options" : {
116+ "composite" : true ,
117+ "declaration" : true ,
118+ "sourceMap" : true ,
119+ "forceConsistentCasingInFileNames" : true ,
120+ "skipDefaultLibCheck" : true ,
121+ "configFilePath" : "./tsconfig.json"
122+ } ,
123+ "referencedMap" : {
124+ "./index.ts" : [
125+ "../core/anothermodule.d.ts" ,
126+ "../core/index.d.ts"
127+ ]
128+ } ,
129+ "exportedModulesMap" : {
130+ "./index.ts" : [
131+ "../core/anothermodule.d.ts"
132+ ]
133+ } ,
134+ "semanticDiagnosticsPerFile" : [
135+ "../../lib/lib.d.ts" ,
136+ "../core/anothermodule.ts" ,
137+ "../core/index.ts" ,
138+ "./index.ts"
139+ ]
140+ } ,
141+ "version" : "FakeTSVersion"
142+ }
143+
144+ //// [/src/tests/index.d.ts]
145+ import * as mod from '../core/anotherModule' ;
146+ export declare const m : typeof mod ;
27147
28148
29149//// [/src/tests/index.js]
@@ -39,9 +159,16 @@ exports.m = mod;
39159
40160//// [/src/tests/tsconfig.json]
41161{
162+ "references" : [
163+ { "path" : "../core" } ,
164+ { "path" : "../logic" }
165+ ] ,
166+ "files" : [ "index.ts" ] ,
42167 "compilerOptions" : {
43- "incremental" : true ,
44- "module" : "commonjs" ,
168+ "composite" : true ,
169+ "declaration" : true ,
170+ "forceConsistentCasingInFileNames" : true ,
171+ "skipDefaultLibCheck" : true ,
45172 "esModuleInterop" : false
46173 }
47174}
@@ -55,15 +182,15 @@ exports.m = mod;
55182 "signature" : "-15964756381"
56183 } ,
57184 "../core/index.ts" : {
58- "version" : "-18749805970 " ,
59- "signature" : "1874987148 "
185+ "version" : "-13851440507 " ,
186+ "signature" : "-13851440507 "
60187 } ,
61188 "../core/anothermodule.ts" : {
62- "version" : "-2676574883 " ,
63- "signature" : "-8396256275 "
189+ "version" : "7652028357 " ,
190+ "signature" : "7652028357 "
64191 } ,
65192 "../logic/index.ts" : {
66- "version" : "-5786964698 " ,
193+ "version" : "-6548680073 " ,
67194 "signature" : "-6548680073"
68195 } ,
69196 "./index.ts" : {
@@ -72,28 +199,29 @@ exports.m = mod;
72199 }
73200 } ,
74201 "options" : {
75- "incremental" : true ,
76- "module" : 1 ,
202+ "composite" : true ,
203+ "declaration" : true ,
204+ "forceConsistentCasingInFileNames" : true ,
205+ "skipDefaultLibCheck" : true ,
77206 "esModuleInterop" : false ,
78207 "configFilePath" : "./tsconfig.json"
79208 } ,
80209 "referencedMap" : {
81210 "../logic/index.ts" : [
82- "../core/anothermodule.ts" ,
83- "../core/index.ts"
211+ "../core/anothermodule.d.ts"
84212 ] ,
85213 "./index.ts" : [
86- "../core/anothermodule.ts" ,
87- "../core/index.ts" ,
88- "../logic/index.ts"
214+ "../core/anothermodule.d. ts" ,
215+ "../core/index.d. ts" ,
216+ "../logic/index.d. ts"
89217 ]
90218 } ,
91219 "exportedModulesMap" : {
92220 "../logic/index.ts" : [
93- "../core/anothermodule.ts"
221+ "../core/anothermodule.d. ts"
94222 ] ,
95223 "./index.ts" : [
96- "../core/anothermodule.ts"
224+ "../core/anothermodule.d. ts"
97225 ]
98226 } ,
99227 "semanticDiagnosticsPerFile" : [
0 commit comments