File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -716,7 +716,7 @@ namespace ts {
716716 }
717717 // prevent saving an open file from over-eagerly triggering invalidation
718718 if ( resolutionHost . fileIsOpen ( fileOrDirectoryPath ) ) {
719- return ;
719+ return false ;
720720 }
721721 // Ignore emits from the program
722722 if ( isEmittedFileOfProgram ( resolutionHost . getCurrentProgram ( ) , fileOrDirectoryPath ) ) {
Original file line number Diff line number Diff line change @@ -691,7 +691,7 @@ namespace ts {
691691 hasChangedAutomaticTypeDirectiveNames = true ;
692692 scheduleProgramUpdate ( ) ;
693693 } ;
694- compilerHost . fileIsOpen = ( ) => false ;
694+ compilerHost . fileIsOpen = returnFalse ;
695695 compilerHost . maxNumberOfFilesToIterateForInvalidation = host . maxNumberOfFilesToIterateForInvalidation ;
696696 compilerHost . getCurrentProgram = getCurrentProgram ;
697697 compilerHost . writeLog = writeLog ;
You can’t perform that action at this time.
0 commit comments