@@ -16,7 +16,7 @@ interface Array<T> { length: number; [n: number]: T; }
16
16
{ "references" :[ { "path" :"./project1.tsconfig.json" } , { "path" :"./project2.tsconfig.json" } ] , "files" :[ ] }
17
17
18
18
//// [/a/b/alpha.tsconfig.json]
19
- { "strict" :true }
19
+ { "compilerOptions" : { " strict" :true } }
20
20
21
21
//// [/a/b/project1.tsconfig.json]
22
22
{ "extends" :"./alpha.tsconfig.json" , "compilerOptions" :{ "composite" :true } , "files" :[ "/a/b/commonFile1.ts" , "/a/b/commonFile2.ts" ] }
@@ -28,7 +28,7 @@ let x = 1
28
28
let y = 1
29
29
30
30
//// [/a/b/bravo.tsconfig.json]
31
- { "strict" :true }
31
+ { "compilerOptions" : { " strict" :true } }
32
32
33
33
//// [/a/b/project2.tsconfig.json]
34
34
{ "extends" :"./bravo.tsconfig.json" , "compilerOptions" :{ "composite" :true } , "files" :[ "/a/b/other.ts" ] }
@@ -60,7 +60,7 @@ Output::
60
60
61
61
62
62
Program root files : [ "/a/b/commonFile1.ts" , "/a/b/commonFile2.ts" ]
63
- Program options : { "composite" :true , "watch" :true , "configFilePath" :"/a/b/project1.tsconfig.json" }
63
+ Program options : { "strict" : true , " composite" :true , "watch" :true , "configFilePath" :"/a/b/project1.tsconfig.json" }
64
64
Program structureReused : Not
65
65
Program files ::
66
66
/ a / lib / lib . d . ts
@@ -78,7 +78,7 @@ Shape signatures in builder refreshed for::
78
78
/ a / b / commonfile2 . ts ( used version )
79
79
80
80
Program root files : [ "/a/b/other.ts" ]
81
- Program options : { "composite" :true , "watch" :true , "configFilePath" :"/a/b/project2.tsconfig.json" }
81
+ Program options : { "strict" : true , " composite" :true , "watch" :true , "configFilePath" :"/a/b/project2.tsconfig.json" }
82
82
Program structureReused : Not
83
83
Program files ::
84
84
/ a / lib / lib . d . ts
@@ -117,6 +117,7 @@ FsWatchesRecursive::
117
117
exitCode :: ExitStatus . undefined
118
118
119
119
//// [/a/b/commonFile1.js]
120
+ "use strict" ;
120
121
var x = 1 ;
121
122
122
123
@@ -125,6 +126,7 @@ declare let x: number;
125
126
126
127
127
128
//// [/a/b/commonFile2.js]
129
+ "use strict" ;
128
130
var y = 1 ;
129
131
130
132
@@ -133,7 +135,7 @@ declare let y: number;
133
135
134
136
135
137
//// [/a/b/project1.tsconfig.tsbuildinfo]
136
- { "program" :{ "fileNames" :[ "../lib/lib.d.ts" , "./commonfile1.ts" , "./commonfile2.ts" ] , "fileInfos" :[ { "version" :"-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }" , "affectsGlobalScope" :true } , { "version" :"2167136208-let x = 1" , "affectsGlobalScope" :true } , { "version" :"2168322129-let y = 1" , "affectsGlobalScope" :true } ] , "options" :{ "composite" :true } , "referencedMap" :[ ] , "exportedModulesMap" :[ ] , "semanticDiagnosticsPerFile" :[ 2 , 3 , 1 ] } , "version" :"FakeTSVersion" }
138
+ { "program" :{ "fileNames" :[ "../lib/lib.d.ts" , "./commonfile1.ts" , "./commonfile2.ts" ] , "fileInfos" :[ { "version" :"-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }" , "affectsGlobalScope" :true } , { "version" :"2167136208-let x = 1" , "affectsGlobalScope" :true } , { "version" :"2168322129-let y = 1" , "affectsGlobalScope" :true } ] , "options" :{ "composite" :true , "strict" : true } , "referencedMap" :[ ] , "exportedModulesMap" :[ ] , "semanticDiagnosticsPerFile" :[ 2 , 3 , 1 ] } , "version" :"FakeTSVersion" }
137
139
138
140
//// [/a/b/project1.tsconfig.tsbuildinfo.readable.baseline.txt]
139
141
{
@@ -161,7 +163,8 @@ declare let y: number;
161
163
}
162
164
} ,
163
165
"options" : {
164
- "composite" : true
166
+ "composite" : true ,
167
+ "strict" : true
165
168
} ,
166
169
"referencedMap" : { } ,
167
170
"exportedModulesMap" : { } ,
@@ -172,10 +175,11 @@ declare let y: number;
172
175
]
173
176
} ,
174
177
"version" : "FakeTSVersion" ,
175
- "size" : 753
178
+ "size" : 767
176
179
}
177
180
178
181
//// [/a/b/other.js]
182
+ "use strict ";
179
183
var z = 0 ;
180
184
181
185
@@ -184,7 +188,7 @@ declare let z: number;
184
188
185
189
186
190
//// [/a/b/project2.tsconfig.tsbuildinfo]
187
- { "program ":{ "fileNames ":[ "../lib/lib.d.ts" , "./other.ts" ] , "fileInfos" :[ { "version" :"-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }" , "affectsGlobalScope" :true } , { "version" :"2874288940-let z = 0;" , "affectsGlobalScope" :true } ] , "options" :{ "composite" :true } , "referencedMap" :[ ] , "exportedModulesMap" :[ ] , "semanticDiagnosticsPerFile" :[ 2 , 1 ] } , "version" :"FakeTSVersion" }
191
+ { "program ":{ "fileNames ":[ "../lib/lib.d.ts" , "./other.ts" ] , "fileInfos" :[ { "version" :"-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }" , "affectsGlobalScope" :true } , { "version" :"2874288940-let z = 0;" , "affectsGlobalScope" :true } ] , "options" :{ "composite" :true , "strict" : true } , "referencedMap" :[ ] , "exportedModulesMap" :[ ] , "semanticDiagnosticsPerFile" :[ 2 , 1 ] } , "version" :"FakeTSVersion" }
188
192
189
193
//// [/a/b/project2.tsconfig.tsbuildinfo.readable.baseline.txt]
190
194
{
@@ -206,7 +210,8 @@ declare let z: number;
206
210
}
207
211
} ,
208
212
"options" : {
209
- "composite" : true
213
+ "composite" : true ,
214
+ "strict" : true
210
215
} ,
211
216
"referencedMap" : { } ,
212
217
"exportedModulesMap" : { } ,
@@ -216,7 +221,7 @@ declare let z: number;
216
221
]
217
222
} ,
218
223
"version" : "FakeTSVersion" ,
219
- "size" : 666
224
+ "size" : 680
220
225
}
221
226
222
227
0 commit comments