@@ -66,17 +66,17 @@ exports.foo = foo;
66
66
} ,
67
67
"./extrafile.ts" : {
68
68
"version" : "-13403012629-export const extra = 10;" ,
69
- "signature" : "-4859189518 -export declare const extra = 10;\r\n " ,
69
+ "signature" : "-13403012629 -export const extra = 10;" ,
70
70
"affectsGlobalScope" : false
71
71
} ,
72
72
"./module.ts" : {
73
73
"version" : "-8446458946-export function foo(): string { return \"hello\"; }" ,
74
- "signature" : "-8035635627 -export declare function foo(): string;\r\n " ,
74
+ "signature" : "-8446458946 -export function foo(): string { return \"hello\"; } " ,
75
75
"affectsGlobalScope" : false
76
76
} ,
77
77
"./main.ts" : {
78
78
"version" : "-7083766686-import { foo } from \"./module\";foo();" ,
79
- "signature" : "-4882119183-export {};\r\n " ,
79
+ "signature" : "-7083766686-import { foo } from \"./module\";foo(); " ,
80
80
"affectsGlobalScope" : false
81
81
}
82
82
} ,
@@ -91,7 +91,11 @@ exports.foo = foo;
91
91
"./module.ts"
92
92
]
93
93
} ,
94
- "exportedModulesMap" : { } ,
94
+ "exportedModulesMap" : {
95
+ "./main.ts" : [
96
+ "./module.ts"
97
+ ]
98
+ } ,
95
99
"semanticDiagnosticsPerFile" : [
96
100
"../../lib/lib.d.ts" ,
97
101
"./extrafile.ts" ,
@@ -116,6 +120,7 @@ Output::
116
120
exitCode:: ExitStatus . Success
117
121
118
122
123
+ //// [/src/project/main.js] file written with same contents
119
124
//// [/src/project/module.js]
120
125
"use strict" ;
121
126
exports . __esModule = true ;
@@ -135,17 +140,17 @@ exports.foo = foo;
135
140
} ,
136
141
"./extrafile.ts" : {
137
142
"version" : "-13403012629-export const extra = 10;" ,
138
- "signature" : "-4859189518 -export declare const extra = 10;\r\n " ,
143
+ "signature" : "-13403012629 -export const extra = 10;" ,
139
144
"affectsGlobalScope" : false
140
145
} ,
141
146
"./module.ts" : {
142
147
"version" : "-4300970970-export function foo(): string { return \"hello world\"; }" ,
143
- "signature" : "-8035635627 -export declare function foo(): string;\r\n " ,
148
+ "signature" : "-4300970970 -export function foo(): string { return \"hello world\"; } " ,
144
149
"affectsGlobalScope" : false
145
150
} ,
146
151
"./main.ts" : {
147
152
"version" : "-7083766686-import { foo } from \"./module\";foo();" ,
148
- "signature" : "-4882119183-export {};\r\n " ,
153
+ "signature" : "-7083766686-import { foo } from \"./module\";foo(); " ,
149
154
"affectsGlobalScope" : false
150
155
}
151
156
} ,
@@ -160,7 +165,11 @@ exports.foo = foo;
160
165
"./module.ts"
161
166
]
162
167
} ,
163
- "exportedModulesMap" : { } ,
168
+ "exportedModulesMap" : {
169
+ "./main.ts" : [
170
+ "./module.ts"
171
+ ]
172
+ } ,
164
173
"semanticDiagnosticsPerFile" : [
165
174
"../../lib/lib.d.ts" ,
166
175
"./extrafile.ts" ,
@@ -206,17 +215,17 @@ exports.foo = foo;
206
215
} ,
207
216
"./extrafile.ts" : {
208
217
"version" : "-13403012629-export const extra = 10;" ,
209
- "signature" : "-4859189518 -export declare const extra = 10;\r\n " ,
218
+ "signature" : "-13403012629 -export const extra = 10;" ,
210
219
"affectsGlobalScope" : false
211
220
} ,
212
221
"./module.ts" : {
213
222
"version" : "-1237933216-export const x = 10;export function foo(): string { return \"hello world\"; }" ,
214
- "signature" : "1387636182- export declare const x = 10;\r\nexport declare function foo(): string;\r\n " ,
223
+ "signature" : "-1237933216- export const x = 10;export function foo(): string { return \"hello world\"; } " ,
215
224
"affectsGlobalScope" : false
216
225
} ,
217
226
"./main.ts" : {
218
227
"version" : "-7083766686-import { foo } from \"./module\";foo();" ,
219
- "signature" : "-4882119183-export {};\r\n " ,
228
+ "signature" : "-7083766686-import { foo } from \"./module\";foo(); " ,
220
229
"affectsGlobalScope" : false
221
230
}
222
231
} ,
@@ -231,7 +240,11 @@ exports.foo = foo;
231
240
"./module.ts"
232
241
]
233
242
} ,
234
- "exportedModulesMap" : { } ,
243
+ "exportedModulesMap" : {
244
+ "./main.ts" : [
245
+ "./module.ts"
246
+ ]
247
+ } ,
235
248
"semanticDiagnosticsPerFile" : [
236
249
"../../lib/lib.d.ts" ,
237
250
"./extrafile.ts" ,
0 commit comments