PromoCursed/node_modules/eslint-module-utils/visit.d.ts
2024-08-20 23:25:37 +04:00

10 lines
238 B
TypeScript

import type { Node } from 'estree';
declare function visit(
node: Node,
keys: { [k in Node['type']]?: (keyof Node)[] },
visitorSpec: { [k in Node['type'] | `${Node['type']}:Exit`]?: Function }
): void;
export default visit;