@@ -14739,7 +14739,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
1473914739 ) {
1474014740 // A reverse mapping of `{[K in keyof T[K_1]]: T[K_1]}` is the same as that of `{[K in keyof T]: T}`, since all we care about is
1474114741 // inferring to the "type parameter" (or indexed access) shared by the constraint and template. So, to reduce the number of
14742- // type identities produced, we simplify such indexed access occurences
14742+ // type identities produced, we simplify such indexed access occurrences
1474314743 const newTypeParam = (type.constraintType.type as IndexedAccessType).objectType;
1474414744 const newMappedType = replaceIndexedAccess(type.mappedType, type.constraintType.type as ReplaceableIndexedAccessType, newTypeParam);
1474514745 inferredProp.links.mappedType = newMappedType as MappedType;
@@ -16291,7 +16291,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
1629116291 }
1629216292 else {
1629316293 // Parameter has no annotation
16294- // By using a `DeferredType` symbol, we allow the type of this rest arg to be overriden by contextual type assignment so long as its type hasn't been
16294+ // By using a `DeferredType` symbol, we allow the type of this rest arg to be overridden by contextual type assignment so long as its type hasn't been
1629516295 // cached by `getTypeOfSymbol` yet.
1629616296 syntheticArgsSymbol.links.checkFlags |= CheckFlags.DeferredType;
1629716297 syntheticArgsSymbol.links.deferralParent = neverType;
@@ -31010,7 +31010,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
3101031010 }
3101131011
3101231012 /**
31013- * This part of `checkIdentifier` is kept seperate from the rest, so `NodeCheckFlags` (and related diagnostics) can be lazily calculated
31013+ * This part of `checkIdentifier` is kept separate from the rest, so `NodeCheckFlags` (and related diagnostics) can be lazily calculated
3101431014 * without calculating the flow type of the identifier.
3101531015 */
3101631016 function checkIdentifierCalculateNodeCheckFlags(node: Identifier, symbol: Symbol) {
@@ -50787,7 +50787,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
5078750787 const container = getSourceFileOfNode(symbol.valueDeclaration);
5078850788 const fileSymbol = container && getSymbolOfDeclaration(container);
5078950789 // Ensures cjs export assignment is setup, since this symbol may point at, and merge with, the file itself.
50790- // If we don't, the merge may not have yet occured , and the flags check below will be missing flags that
50790+ // If we don't, the merge may not have yet occurred , and the flags check below will be missing flags that
5079150791 // are added as a result of the merge.
5079250792 void resolveExternalModuleSymbol(fileSymbol);
5079350793 const target = getExportSymbolOfValueSymbolIfExported(resolveAlias(symbol));
0 commit comments