Skip to content

Commit d98857a

Browse files
committed
Fix formatting
1 parent 180b94d commit d98857a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/compiler/checker.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23110,7 +23110,9 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
2311023110
for (const constituent of (target as UnionType).types) {
2311123111
const constituentPropType = getTypeOfPropertyOfType(constituent, prop.escapedName);
2311223112
if (constituentPropType) {
23113-
forEachType(constituentPropType, t => { targetDiscriminantTypes.push(t); });
23113+
forEachType(constituentPropType, t => {
23114+
targetDiscriminantTypes.push(t);
23115+
});
2311423116
}
2311523117
}
2311623118
const targetDiscriminantUnion = getUnionType(targetDiscriminantTypes);

0 commit comments

Comments
 (0)