We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a075ba9 + 5407078 commit 141cd57Copy full SHA for 141cd57
src/server/project.ts
@@ -771,9 +771,10 @@ namespace ts.server {
771
// unknown version - return everything
772
const projectFileNames = this.getFileNames();
773
const externalFiles = this.getExternalFiles().map(f => toNormalizedPath(f));
774
- this.lastReportedFileNames = arrayToSet(projectFileNames.concat(externalFiles));
+ const allFiles = projectFileNames.concat(externalFiles);
775
+ this.lastReportedFileNames = arrayToSet(allFiles);
776
this.lastReportedVersion = this.projectStructureVersion;
- return { info, files: projectFileNames, projectErrors: this.getGlobalProjectErrors() };
777
+ return { info, files: allFiles, projectErrors: this.getGlobalProjectErrors() };
778
}
779
780
0 commit comments