mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Handle root files listed in project config from referenced project to be same as if they were included through import (#58560)
This commit is contained in:
@@ -3765,7 +3765,7 @@ export function createProgram(rootNamesOrOptions: readonly string[] | CreateProg
|
||||
}
|
||||
|
||||
let redirectedPath: Path | undefined;
|
||||
if (isReferencedFile(reason) && !useSourceOfProjectReferenceRedirect) {
|
||||
if (!useSourceOfProjectReferenceRedirect) {
|
||||
const redirectProject = getProjectReferenceRedirectProject(fileName);
|
||||
if (redirectProject) {
|
||||
if (redirectProject.commandLine.options.outFile) {
|
||||
|
||||
Reference in New Issue
Block a user