Skip to content

Commit b85ecd2

Browse files
authored
Merge pull request microsoft#23975 from ialexryan/patch-2
Fix comment typo in resolutionCache.ts
2 parents 5719c8d + 4fb2add commit b85ecd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler/resolutionCache.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ namespace ts {
539539
return resolutionHost.watchDirectoryOfFailedLookupLocation(directory, fileOrDirectory => {
540540
const fileOrDirectoryPath = resolutionHost.toPath(fileOrDirectory);
541541
if (cachedDirectoryStructureHost) {
542-
// Since the file existance changed, update the sourceFiles cache
542+
// Since the file existence changed, update the sourceFiles cache
543543
cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath);
544544
}
545545

@@ -690,7 +690,7 @@ namespace ts {
690690
return resolutionHost.watchTypeRootsDirectory(typeRoot, fileOrDirectory => {
691691
const fileOrDirectoryPath = resolutionHost.toPath(fileOrDirectory);
692692
if (cachedDirectoryStructureHost) {
693-
// Since the file existance changed, update the sourceFiles cache
693+
// Since the file existence changed, update the sourceFiles cache
694694
cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath);
695695
}
696696

0 commit comments

Comments
 (0)