the-forest/client/node_modules/eslint-module-utils/visit.d.ts
2024-09-17 20:35:18 -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;