Skip to content

Commit 5b45cf3

Browse files
committed
Update spelling
1 parent 955db84 commit 5b45cf3

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/compiler/checker.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2867,7 +2867,7 @@ namespace ts {
28672867
}
28682868

28692869
for (const propertySymbol of properties) {
2870-
const propertyType = getCheckFlags(propertySymbol) & CheckFlags.DeferredInferred ? emptyObjectType : getTypeOfSymbol(propertySymbol);
2870+
const propertyType = getCheckFlags(propertySymbol) & CheckFlags.Deferred ? emptyObjectType : getTypeOfSymbol(propertySymbol);
28712871
const saveEnclosingDeclaration = context.enclosingDeclaration;
28722872
context.enclosingDeclaration = undefined;
28732873
const propertyName = symbolToName(propertySymbol, context, SymbolFlags.Value, /*expectsIdentifier*/ true);
@@ -4868,7 +4868,7 @@ namespace ts {
48684868
if (getCheckFlags(symbol) & CheckFlags.Instantiated) {
48694869
return getTypeOfInstantiatedSymbol(symbol);
48704870
}
4871-
if (getCheckFlags(symbol) & CheckFlags.DeferredInferred) {
4871+
if (getCheckFlags(symbol) & CheckFlags.Deferred) {
48724872
return inferDeferredMappedType((symbol as DeferredTransientSymbol).propertyType, (symbol as DeferredTransientSymbol).mappedType);
48734873
}
48744874
if (symbol.flags & (SymbolFlags.Variable | SymbolFlags.Property)) {
@@ -11255,7 +11255,7 @@ namespace ts {
1125511255
if (propType.flags & TypeFlags.ContainsAnyFunctionType) {
1125611256
return undefined;
1125711257
}
11258-
const checkFlags = CheckFlags.DeferredInferred | (readonlyMask && isReadonlySymbol(prop) ? CheckFlags.Readonly : 0);
11258+
const checkFlags = CheckFlags.Deferred | (readonlyMask && isReadonlySymbol(prop) ? CheckFlags.Readonly : 0);
1125911259
const inferredProp = createSymbol(SymbolFlags.Property | prop.flags & optionalMask, prop.escapedName, checkFlags) as DeferredTransientSymbol;
1126011260
inferredProp.declarations = prop.declarations;
1126111261
inferredProp.propertyType = propType;

src/compiler/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3217,7 +3217,7 @@ namespace ts {
32173217
ContainsPrivate = 1 << 8, // Synthetic property with private constituent(s)
32183218
ContainsStatic = 1 << 9, // Synthetic property with static constituent(s)
32193219
Late = 1 << 10, // Late-bound symbol for a computed property with a dynamic name
3220-
DeferredInferred = 1 << 11, // Deferred inferred property of homomorphic mapped type. It is HILARIOUS.
3220+
Deferred = 1 << 11, // Deferred inferred property of homomorphic mapped type.
32213221
Synthetic = SyntheticProperty | SyntheticMethod
32223222
}
32233223

0 commit comments

Comments
 (0)