We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5538770 + 6281b05 commit aa40be6Copy full SHA for aa40be6
src/server/project.ts
@@ -767,9 +767,10 @@ namespace ts.server {
767
// unknown version - return everything
768
const projectFileNames = this.getFileNames();
769
const externalFiles = this.getExternalFiles().map(f => toNormalizedPath(f));
770
- this.lastReportedFileNames = arrayToSet(projectFileNames.concat(externalFiles));
+ const allFiles = projectFileNames.concat(externalFiles);
771
+ this.lastReportedFileNames = arrayToSet(allFiles);
772
this.lastReportedVersion = this.projectStructureVersion;
- return { info, files: projectFileNames, projectErrors: this.getGlobalProjectErrors() };
773
+ return { info, files: allFiles, projectErrors: this.getGlobalProjectErrors() };
774
}
775
776
0 commit comments