UNPKG

@ospm/eslint-plugin-react-signals-hooks

Version:

ESLint plugin for React Signals hooks - enforces best practices, performance optimizations, and integration patterns for @preact/signals-react usage in React projects

9 lines 396 B
import { type TSESTree } from '@typescript-eslint/utils'; /** * Returns true if the given node appears within a React useEffect dependency array. * * Walks up the parent chain looking for an ArrayExpression whose parent is * a CallExpression to an identifier named "useEffect". */ export declare function isInDependencyArray(node: TSESTree.Node): boolean; //# sourceMappingURL=react.d.ts.map