mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-30 01:04:49 -05:00
Merge pull request #9073 from zhengbli/i8523
Increase project reference count even when the opened file is referenced by it but not its root
This commit is contained in:
@@ -807,6 +807,7 @@ namespace ts.server {
|
||||
else {
|
||||
this.findReferencingProjects(info);
|
||||
if (info.defaultProject) {
|
||||
info.defaultProject.addOpenRef();
|
||||
this.openFilesReferenced.push(info);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user