diff --git a/acorn-walk/dist/walk.d.ts b/acorn-walk/dist/walk.d.ts index b4473367c..00cc005f1 100644 --- a/acorn-walk/dist/walk.d.ts +++ b/acorn-walk/dist/walk.d.ts @@ -95,12 +95,18 @@ declare module "acorn-walk" { node: Node, start: number | undefined, end?: number | undefined, - type?: FindPredicate, + type?: FindPredicate | string, base?: RecursiveVisitors, state?: TState ): Found | undefined; - export const findNodeAround: typeof findNodeAt; + export function findNodeAround( + node: Node, + start: number | undefined, + type?: FindPredicate | string, + base?: RecursiveVisitors, + state?: TState + ): Found | undefined; - export const findNodeAfter: typeof findNodeAt; + export const findNodeAfter: typeof findNodeAround; }