mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-22 00:31:30 -05:00
Create original project when location is in source of project reference redirect
This commit is contained in:
@@ -814,7 +814,7 @@ namespace ts {
|
||||
let projectReferenceRedirects: Map<ResolvedProjectReference | false> | undefined;
|
||||
let mapFromFileToProjectReferenceRedirects: Map<Path> | undefined;
|
||||
let mapFromToProjectReferenceRedirectSource: Map<SourceOfProjectReferenceRedirect> | undefined;
|
||||
const useSourceOfReference = host.useSourceInsteadOfReferenceRedirect && host.useSourceInsteadOfReferenceRedirect();
|
||||
const useSourceOfReference = useSourceInsteadOfReferenceRedirect(host);
|
||||
|
||||
const shouldCreateNewSourceFile = shouldProgramCreateNewSourceFiles(oldProgram, options);
|
||||
const structuralIsReused = tryReuseStructureFromOldProgram();
|
||||
|
||||
Reference in New Issue
Block a user