Skip to content

Commit 629dd64

Browse files
authored
Fix typo (#39585)
1 parent 31f75fe commit 629dd64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/services.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,7 +1408,7 @@ namespace ts {
14081408
//
14091409
// Each LS has a reference to file 'foo.ts' at version 1. LS2 then updates
14101410
// it's version of 'foo.ts' to version 2. This will cause LS2 and the
1411-
// DocumentRegistry to have version 2 of the document. HOwever, LS1 will
1411+
// DocumentRegistry to have version 2 of the document. However, LS1 will
14121412
// have version 1. And *importantly* this source file will be *corrupt*.
14131413
// The act of creating version 2 of the file irrevocably damages the version
14141414
// 1 file.
@@ -1451,7 +1451,7 @@ namespace ts {
14511451

14521452
function dispose(): void {
14531453
if (program) {
1454-
// Use paths to ensure we are using correct key and paths as document registry could bre created with different current directory than host
1454+
// Use paths to ensure we are using correct key and paths as document registry could be created with different current directory than host
14551455
const key = documentRegistry.getKeyForCompilationSettings(program.getCompilerOptions());
14561456
forEach(program.getSourceFiles(), f =>
14571457
documentRegistry.releaseDocumentWithKey(f.resolvedPath, key));

0 commit comments

Comments
 (0)