elearning/Frontend-Learner/node_modules/eslint-plugin-import-x/lib/utils/visit.d.ts
2026-01-13 10:48:02 +07:00

6 lines
327 B
TypeScript

import type { TSESTree } from '@typescript-eslint/utils';
export declare function visit(node: TSESTree.Node, keys: {
[k in TSESTree.Node['type']]?: Array<keyof TSESTree.Node>;
} | undefined | null, visitorSpec: {
[k in TSESTree.Node['type'] | `${TSESTree.Node['type']}:Exit`]?: (node: TSESTree.Node) => void;
}): void;