Skip to content

Commit ffaea2c

Browse files
committed
chore: fix typing error
1 parent e7fc3ec commit ffaea2c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/utils/ast/js/utils.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,10 @@ function findVariable(
7777
context: RuleContext,
7878
node: AST.ESLintIdentifier,
7979
): Variable | null {
80-
return eslintUtils.findVariable(getScope(context, node), node);
80+
return eslintUtils.findVariable(
81+
getScope(context, node),
82+
node,
83+
) as Variable | null;
8184
}
8285

8386
/**

0 commit comments

Comments
 (0)