Temp fix till we investigate #55069 making project.ts changes building error free (#55219)

This commit is contained in:
Sheetal Nandi
2023-07-31 11:24:29 -07:00
committed by GitHub
parent d9e327b363
commit cd23992100

View File

@@ -1663,7 +1663,7 @@ export abstract class Project implements LanguageServiceHost, ModuleResolutionHo
}
}
private addMissingFileWatcher(missingFilePath: Path) {
private addMissingFileWatcher(missingFilePath: Path): FileWatcher {
if (isConfiguredProject(this)) {
// If this file is referenced config file, we are already watching it, no need to watch again
const configFileExistenceInfo = this.projectService.configFileExistenceInfoCache.get(missingFilePath as string as NormalizedPath);