We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d50286 commit fa3ad8cCopy full SHA for fa3ad8c
acorn-walk/dist/walk.d.ts
@@ -95,12 +95,18 @@ declare module "acorn-walk" {
95
node: Node,
96
start: number | undefined,
97
end?: number | undefined,
98
- type?: FindPredicate,
+ type?: FindPredicate | string,
99
base?: RecursiveVisitors<TState>,
100
state?: TState
101
): Found<TState> | undefined;
102
103
- export const findNodeAround: typeof findNodeAt;
+ export function findNodeAround<TState>(
104
+ node: Node,
105
+ start: number | undefined,
106
107
+ base?: RecursiveVisitors<TState>,
108
+ state?: TState
109
+ ): Found<TState> | undefined;
110
- export const findNodeAfter: typeof findNodeAt;
111
+ export const findNodeAfter: typeof findNodeAround;
112
}
0 commit comments