UNPKG

eslint-plugin-perfectionist

Version:

ESLint plugin for sorting various data such as objects, imports, types, enums, JSX props, etc.

13 lines (12 loc) 457 B
import { TSESTree } from '@typescript-eslint/types' /** * Checks whether a node is a property or accessor node with an * ArrowFunctionExpression value. * * @param node - The AST node to check. * @returns True if the node is a property or accessor node with an * ArrowFunctionExpression value, false otherwise. */ export declare function isArrowFunctionNode( node: TSESTree.Node, ): node is TSESTree.PropertyDefinition | TSESTree.AccessorProperty