securityos/node_modules/eslint-module-utils/visit.d.ts

10 lines
238 B
TypeScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
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;