Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
NamHaiBui committed Feb 14, 2025
1 parent 4db251b commit 6505632
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/compiler/checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21965,7 +21965,6 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
typeToString(constraint),
);
}

else if ((source.flags & TypeFlags.TypeParameter) && (isTypeAssignableTo(target, getBaseConstraintOrType(generalizedSource)) || (needsOriginalSource = isTypeAssignableTo(target, getBaseConstraintOrType(source))))) {
reportError(
Diagnostics._1_is_constrained_to_be_a_subtype_of_0,
Expand Down

0 comments on commit 6505632

Please sign in to comment.