File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -26740,9 +26740,11 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
2674026740 function hasMatchingArgument(expression: CallExpression | NewExpression, reference: Node) {
2674126741 if (expression.arguments) {
2674226742 for (const argument of expression.arguments) {
26743- if (isOrContainsMatchingReference(reference, argument)
26743+ if (
26744+ isOrContainsMatchingReference(reference, argument)
2674426745 || optionalChainContainsReference(argument, reference)
26745- || isAccessExpression(argument) && isMatchingReference(reference, argument.expression)) {
26746+ || isAccessExpression(argument) && isMatchingReference(reference, argument.expression)
26747+ ) {
2674626748 return true;
2674726749 }
2674826750 }
You can’t perform that action at this time.
0 commit comments