Skip to content

Commit 78f54c5

Browse files
committed
Fix lint error
1 parent 34feb07 commit 78f54c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11958,7 +11958,7 @@ namespace ts {
1195811958
if (targetTypePredicate) {
1195911959
const sourceTypePredicate = getTypePredicateOfSignature(source);
1196011960
if (sourceTypePredicate) {
11961-
result &= callbackCheck === CallbackCheck.Bivariant && compareTypePredicateRelatedTo(targetTypePredicate, sourceTypePredicate, /*reportErrors*/ false, undefined, compareTypes) ||
11961+
result &= callbackCheck === CallbackCheck.Bivariant && compareTypePredicateRelatedTo(targetTypePredicate, sourceTypePredicate, /*reportErrors*/ false, /*errorReporter*/ undefined, compareTypes) ||
1196211962
compareTypePredicateRelatedTo(sourceTypePredicate, targetTypePredicate, reportErrors, errorReporter, compareTypes);
1196311963
}
1196411964
else if (isIdentifierTypePredicate(targetTypePredicate)) {

0 commit comments

Comments
 (0)