diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index dbce5f41ef4..6f643457e2f 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -12250,7 +12250,7 @@ namespace ts { seen = c === node; } }); - // We may be here because of some extra junk between overloads that could not be parsed into a valid node. + // We may be here because of some extra nodes between overloads that could not be parsed into a valid node. // In this case the subsequent node is not really consecutive (.pos !== node.end), and we must ignore it here. if (subsequentNode && subsequentNode.pos === node.end) { if (subsequentNode.kind === node.kind) { diff --git a/src/services/services.ts b/src/services/services.ts index 38daea8d608..65a6bd1362c 100644 --- a/src/services/services.ts +++ b/src/services/services.ts @@ -2838,7 +2838,7 @@ namespace ts { if (oldSourceFile) { // We already had a source file for this file name. Go to the registry to // ensure that we get the right up to date version of it. We need this to - // address the following 'race'. Specifically, say we have the following: + // address the following race-condition. Specifically, say we have the following: // // LS1 // \