File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -616,7 +616,7 @@ namespace ts {
616
616
const filesByNameIgnoreCase = host . useCaseSensitiveFileNames ( ) ? createMap < SourceFile > ( ) : undefined ;
617
617
618
618
// A parallel array to projectReferences storing the results of reading in the referenced tsconfig files
619
- const resolvedProjectReferences : ( ResolvedProjectReference | undefined ) [ ] | undefined = projectReferences ? [ ] : undefined ;
619
+ let resolvedProjectReferences : ( ResolvedProjectReference | undefined ) [ ] | undefined = projectReferences ? [ ] : undefined ;
620
620
const projectReferenceRedirects : Map < string > = createMap ( ) ;
621
621
622
622
const shouldCreateNewSourceFile = shouldProgramCreateNewSourceFiles ( oldProgram , options ) ;
@@ -1190,6 +1190,7 @@ namespace ts {
1190
1190
fileProcessingDiagnostics . reattachFileDiagnostics ( modifiedFile . newFile ) ;
1191
1191
}
1192
1192
resolvedTypeReferenceDirectives = oldProgram . getResolvedTypeReferenceDirectives ( ) ;
1193
+ resolvedProjectReferences = oldProgram . getProjectReferences ( ) ;
1193
1194
1194
1195
sourceFileToPackageName = oldProgram . sourceFileToPackageName ;
1195
1196
redirectTargetsSet = oldProgram . redirectTargetsSet ;
You can’t perform that action at this time.
0 commit comments