UNPKG

238 BTypeScriptView Raw
1import type { Node } from 'estree';
2
3declare function visit(
4 node: Node,
5 keys: { [k in Node['type']]?: (keyof Node)[] },
6 visitorSpec: { [k in Node['type'] | `${Node['type']}:Exit`]?: Function }
7): void;
8
9export default visit;