Do not trigger the failed lookup location invalidation for creation of program emit files

Handles #20934
This commit is contained in:
Sheetal Nandi
2018-01-11 11:52:46 -08:00
parent c5ed8646e1
commit 69bb5ea8f0
8 changed files with 53 additions and 8 deletions

View File

@@ -830,7 +830,10 @@ namespace ts.server {
return !hasChanges;
}
/* @internal */
getCurrentProgram() {
return this.program;
}
protected removeExistingTypings(include: string[]): string[] {
const existing = ts.getAutomaticTypeDirectiveNames(this.getCompilerOptions(), this.directoryStructureHost);