Skip to content

Commit da32f2b

Browse files
committed
Fix formatting
1 parent 4e76dec commit da32f2b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/compiler/checker.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8344,17 +8344,17 @@ namespace ts {
83448344
// resolution of the conditional type such that a later instantiation will properly distribute
83458345
// over union types.
83468346
const isDeferred = root.isDistributive && maybeTypeOfKind(checkType, TypeFlags.Instantiable);
8347-
let combinedMapper: TypeMapper;
8348-
if (root.inferTypeParameters) {
8349-
const context = createInferenceContext(root.inferTypeParameters, /*signature*/ undefined, InferenceFlags.None);
8347+
let combinedMapper: TypeMapper;
8348+
if (root.inferTypeParameters) {
8349+
const context = createInferenceContext(root.inferTypeParameters, /*signature*/ undefined, InferenceFlags.None);
83508350
if (!isDeferred) {
83518351
// We don't want inferences from constraints as they may cause us to eagerly resolve the
83528352
// conditional type instead of deferring resolution. Also, we always want strict function
83538353
// types rules (i.e. proper contravariance) for inferences.
83548354
inferTypes(context.inferences, checkType, extendsType, InferencePriority.NoConstraints | InferencePriority.AlwaysStrict);
83558355
}
8356-
combinedMapper = combineTypeMappers(mapper, context);
8357-
}
8356+
combinedMapper = combineTypeMappers(mapper, context);
8357+
}
83588358
if (!isDeferred) {
83598359
// Return union of trueType and falseType for 'any' since it matches anything
83608360
if (checkType.flags & TypeFlags.Any) {

0 commit comments

Comments
 (0)