@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
10 lines • 382 B
TypeScript
import { type TSESTree } from '@typescript-eslint/utils';
/**
* Returns true if the given node is within a JSXElement or JSXFragment.
*/
export declare function isInJSXContext(node: TSESTree.Node): boolean;
/**
* Returns true if the given node is within a JSXAttribute.
*/
export declare function isInJSXAttribute(node: TSESTree.Node): boolean;
//# sourceMappingURL=jsx.d.ts.map