File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -616,7 +616,7 @@ namespace ts {
616616 const filesByNameIgnoreCase = host . useCaseSensitiveFileNames ( ) ? createMap < SourceFile > ( ) : undefined ;
617617
618618 // 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 ;
620620 const projectReferenceRedirects : Map < string > = createMap ( ) ;
621621
622622 const shouldCreateNewSourceFile = shouldProgramCreateNewSourceFiles ( oldProgram , options ) ;
@@ -1190,6 +1190,7 @@ namespace ts {
11901190 fileProcessingDiagnostics . reattachFileDiagnostics ( modifiedFile . newFile ) ;
11911191 }
11921192 resolvedTypeReferenceDirectives = oldProgram . getResolvedTypeReferenceDirectives ( ) ;
1193+ resolvedProjectReferences = oldProgram . getProjectReferences ( ) ;
11931194
11941195 sourceFileToPackageName = oldProgram . sourceFileToPackageName ;
11951196 redirectTargetsSet = oldProgram . redirectTargetsSet ;
You can’t perform that action at this time.
0 commit comments