securityos/node_modules/eslint-plugin-sonarjs/lib/utils/utils-parent.d.ts

4 lines
321 B
TypeScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
import type { TSESTree } from '@typescript-eslint/experimental-utils';
export declare function findFirstMatchingAncestor(node: TSESTree.Node, predicate: (node: TSESTree.Node) => boolean): TSESTree.Node | undefined;
export declare function ancestorsChain(node: TSESTree.Node, boundaryTypes: Set<string>): TSESTree.Node[];