@@ -16,7 +16,7 @@ interface Array<T> { length: number; [n: number]: T; }
1616{ "references" :[ { "path" :"./project1.tsconfig.json" } , { "path" :"./project2.tsconfig.json" } ] , "files" :[ ] }
1717
1818//// [/a/b/alpha.tsconfig.json]
19- { "strict" :true }
19+ { "compilerOptions" : { " strict" :true } }
2020
2121//// [/a/b/project1.tsconfig.json]
2222{ "extends" :"./alpha.tsconfig.json" , "compilerOptions" :{ "composite" :true } , "files" :[ "/a/b/commonFile1.ts" , "/a/b/commonFile2.ts" ] }
@@ -28,7 +28,7 @@ let x = 1
2828let y = 1
2929
3030//// [/a/b/bravo.tsconfig.json]
31- { "strict" :true }
31+ { "compilerOptions" : { " strict" :true } }
3232
3333//// [/a/b/project2.tsconfig.json]
3434{ "extends" :"./bravo.tsconfig.json" , "compilerOptions" :{ "composite" :true } , "files" :[ "/a/b/other.ts" ] }
@@ -60,7 +60,7 @@ Output::
6060
6161
6262Program 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" }
6464Program structureReused : Not
6565Program files ::
6666/ a / lib / lib . d . ts
@@ -78,7 +78,7 @@ Shape signatures in builder refreshed for::
7878/ a / b / commonfile2 . ts ( used version )
7979
8080Program 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" }
8282Program structureReused : Not
8383Program files ::
8484/ a / lib / lib . d . ts
@@ -117,6 +117,7 @@ FsWatchesRecursive::
117117exitCode :: ExitStatus . undefined
118118
119119//// [/a/b/commonFile1.js]
120+ "use strict" ;
120121var x = 1 ;
121122
122123
@@ -125,6 +126,7 @@ declare let x: number;
125126
126127
127128//// [/a/b/commonFile2.js]
129+ "use strict" ;
128130var y = 1 ;
129131
130132
@@ -133,7 +135,7 @@ declare let y: number;
133135
134136
135137//// [/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" }
137139
138140//// [/a/b/project1.tsconfig.tsbuildinfo.readable.baseline.txt]
139141{
@@ -161,7 +163,8 @@ declare let y: number;
161163 }
162164 } ,
163165 "options" : {
164- "composite" : true
166+ "composite" : true ,
167+ "strict" : true
165168 } ,
166169 "referencedMap" : { } ,
167170 "exportedModulesMap" : { } ,
@@ -172,10 +175,11 @@ declare let y: number;
172175 ]
173176 } ,
174177 "version" : "FakeTSVersion" ,
175- "size" : 753
178+ "size" : 767
176179}
177180
178181//// [/a/b/other.js]
182+ "use strict ";
179183var z = 0 ;
180184
181185
@@ -184,7 +188,7 @@ declare let z: number;
184188
185189
186190//// [/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" }
188192
189193//// [/a/b/project2.tsconfig.tsbuildinfo.readable.baseline.txt]
190194{
@@ -206,7 +210,8 @@ declare let z: number;
206210 }
207211 } ,
208212 "options" : {
209- "composite" : true
213+ "composite" : true ,
214+ "strict" : true
210215 } ,
211216 "referencedMap" : { } ,
212217 "exportedModulesMap" : { } ,
@@ -216,7 +221,7 @@ declare let z: number;
216221 ]
217222 } ,
218223 "version" : "FakeTSVersion" ,
219- "size" : 666
224+ "size" : 680
220225}
221226
222227
0 commit comments