File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -416,7 +416,7 @@ namespace ts {
416416 hasInvalidatedResolution : HasInvalidatedResolution ,
417417 hasChangedAutomaticTypeDirectiveNames : boolean ,
418418 ) : boolean {
419- // If we haven't create a program yet or has changed automatic type directives, then it is not up-to-date
419+ // If we haven't created a program yet or have changed automatic type directives, then it is not up-to-date
420420 if ( ! program || hasChangedAutomaticTypeDirectiveNames ) {
421421 return false ;
422422 }
@@ -457,10 +457,10 @@ namespace ts {
457457 }
458458
459459 /**
460- * Determined if source file needs to be re-created even if its text hasnt changed
460+ * Determined if source file needs to be re-created even if its text hasn't changed
461461 */
462462 function shouldProgramCreateNewSourceFiles ( program : Program , newOptions : CompilerOptions ) {
463- // If any of these options change, we cant reuse old source file even if version match
463+ // If any of these options change, we can't reuse old source file even if version match
464464 // The change in options like these could result in change in syntax tree change
465465 const oldOptions = program && program . getCompilerOptions ( ) ;
466466 return oldOptions && (
You can’t perform that action at this time.
0 commit comments