@@ -124,8 +124,33 @@ Output::
124
124
>> Screen clear
125
125
[ [ 90 m12 :00 :32 AM [ 0 m ] File change detected . Starting incremental compilation ...
126
126
127
- [ [ 90 m12 : 00 : 33 AM [ 0 m ] Found 0 errors . Watching for file changes .
127
+ [ 96 ma . ts [ 0 m : [ 93 m1 [ 0 m : [ 93 m1 [ 0 m - [ 91 merror [ 0 m [ 90 m TS1287 : [ 0 mA top - level ' export ' modifier cannot be used on value declarations in a CommonJS module when ' verbatimModuleSyntax ' is enabled .
128
128
129
+ [ 7 m1 [ 0 m export class C { }
130
+ [ 7 m [ 0 m [ 91 m ~ ~ ~ ~ ~ ~ [ 0 m
131
+
132
+ [ 96 mb . ts [ 0 m :[ 93 m1 [ 0 m :[ 93 m9 [ 0 m - [ 91 merror [ 0 m [ 90 m TS1286 : [ 0 mESM syntax is not allowed in a CommonJS module when 'verbatimModuleSyntax ' is enabled .
133
+
134
+ [ 7 m1 [ 0 m import { C } from '. / a ';
135
+ [ 7 m [ 0 m [ 91 m ~ [ 0 m
136
+
137
+ [ 96 mb . ts [ 0 m :[ 93 m2 [ 0 m :[ 93 m1 [ 0 m - [ 91 merror [ 0 m [ 90 m TS1287 : [ 0 mA top - level 'export ' modifier cannot be used on value declarations in a CommonJS module when 'verbatimModuleSyntax ' is enabled .
138
+
139
+ [ 7 m2 [ 0 m export function f ( p : C ) { return p ; }
140
+ [ 7 m [ 0 m [ 91 m ~ ~ ~ ~ ~ ~ [ 0 m
141
+
142
+ [ [ 90 m12 :00 :39 AM [ 0 m ] Found 3 errors . Watching for file changes .
143
+
144
+
145
+
146
+ //// [/user/username/projects/myproject/a.js] file written with same contents
147
+ //// [/user/username/projects/myproject/b.js]
148
+ "use strict ";
149
+ Object . defineProperty ( exports , "__esModule" , { value : true } ) ;
150
+ exports . f = void 0 ;
151
+ var a_1 = require ( "./a" ) ;
152
+ function f ( p ) { return p ; }
153
+ exports . f = f ;
129
154
130
155
131
156
@@ -146,6 +171,9 @@ Program files::
146
171
/ user / username / projects / myproject / b . ts
147
172
148
173
Semantic diagnostics in builder refreshed for ::
174
+ / a / lib / lib . d . ts
175
+ / user / username / projects / myproject / a . ts
176
+ / user / username / projects / myproject / b . ts
149
177
150
178
No shapes updated in the builder ::
151
179
@@ -171,12 +199,21 @@ Before running Timeout callback:: count: 1
171
199
After running Timeout callback :: count : 0
172
200
Output ::
173
201
>> Screen clear
174
- [ [ 90 m12 :00 :37 AM [ 0 m ] File change detected . Starting incremental compilation ...
202
+ [ [ 90 m12 :00 :43 AM [ 0 m ] File change detected . Starting incremental compilation ...
175
203
176
- [ [ 90 m12 :00 :38 AM [ 0 m ] Found 0 errors . Watching for file changes .
204
+ [ [ 90 m12 :00 :50 AM [ 0 m ] Found 0 errors . Watching for file changes .
177
205
178
206
179
207
208
+ //// [/user/username/projects/myproject/a.js] file written with same contents
209
+ //// [/user/username/projects/myproject/b.js]
210
+ "use strict ";
211
+ Object . defineProperty ( exports , "__esModule ", { value : true } ) ;
212
+ exports . f = void 0 ;
213
+ function f ( p ) { return p ; }
214
+ exports . f = f ;
215
+
216
+
180
217
181
218
182
219
Program root files : [
@@ -195,6 +232,9 @@ Program files::
195
232
/ user / username / projects / myproject / b . ts
196
233
197
234
Semantic diagnostics in builder refreshed for ::
235
+ / a / lib / lib . d . ts
236
+ / user / username / projects / myproject / a . ts
237
+ / user / username / projects / myproject / b . ts
198
238
199
239
No shapes updated in the builder ::
200
240
0 commit comments