File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -716,7 +716,7 @@ namespace ts {
716
716
}
717
717
// prevent saving an open file from over-eagerly triggering invalidation
718
718
if ( resolutionHost . fileIsOpen ( fileOrDirectoryPath ) ) {
719
- return ;
719
+ return false ;
720
720
}
721
721
// Ignore emits from the program
722
722
if ( isEmittedFileOfProgram ( resolutionHost . getCurrentProgram ( ) , fileOrDirectoryPath ) ) {
Original file line number Diff line number Diff line change @@ -691,7 +691,7 @@ namespace ts {
691
691
hasChangedAutomaticTypeDirectiveNames = true ;
692
692
scheduleProgramUpdate ( ) ;
693
693
} ;
694
- compilerHost . fileIsOpen = ( ) => false ;
694
+ compilerHost . fileIsOpen = returnFalse ;
695
695
compilerHost . maxNumberOfFilesToIterateForInvalidation = host . maxNumberOfFilesToIterateForInvalidation ;
696
696
compilerHost . getCurrentProgram = getCurrentProgram ;
697
697
compilerHost . writeLog = writeLog ;
You can’t perform that action at this time.
0 commit comments