UNPKG

@typescript-eslint/typescript-estree

Version:

A parser that converts TypeScript source code into an ESTree compatible form

12 lines 610 B
import type { VisitorKeys } from '@typescript-eslint/visitor-keys'; import type { TSESTree } from './ts-estree'; type SimpleTraverseOptions = Readonly<{ enter: (node: TSESTree.Node, parent: TSESTree.Node | undefined) => void; visitorKeys?: Readonly<VisitorKeys>; } | { visitorKeys?: Readonly<VisitorKeys>; visitors: Record<string, (node: TSESTree.Node, parent: TSESTree.Node | undefined) => void>; }>; export declare function simpleTraverse(startingNode: TSESTree.Node, options: SimpleTraverseOptions, setParentPointers?: boolean): void; export {}; //# sourceMappingURL=simple-traverse.d.ts.map