Skip to content

Commit

Permalink
Normalize line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
NamHaiBui committed Feb 7, 2025
1 parent 8def683 commit ce15fd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22032,7 +22032,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
targetType,
typeToString(constraint),
);
}
} // check if target is a descendant of the source
else if (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 ce15fd8

Please sign in to comment.