UNPKG

610 BTypeScriptView Raw
1import type { VisitorKeys } from '@typescript-eslint/visitor-keys';
2import type { TSESTree } from './ts-estree';
3type SimpleTraverseOptions = Readonly<{
4 visitorKeys?: Readonly<VisitorKeys>;
5 enter: (node: TSESTree.Node, parent: TSESTree.Node | undefined) => void;
6} | {
7 visitorKeys?: Readonly<VisitorKeys>;
8 visitors: Record<string, (node: TSESTree.Node, parent: TSESTree.Node | undefined) => void>;
9}>;
10export declare function simpleTraverse(startingNode: TSESTree.Node, options: SimpleTraverseOptions, setParentPointers?: boolean): void;
11export {};
12//# sourceMappingURL=simple-traverse.d.ts.map
\No newline at end of file