diff --git a/acorn-walk/src/walk.d.ts b/acorn-walk/src/walk.d.ts index 7bc8c9790..ffef80d58 100644 --- a/acorn-walk/src/walk.d.ts +++ b/acorn-walk/src/walk.d.ts @@ -165,8 +165,13 @@ export function findNodeAround( ): Found | undefined /** - * similar to {@link findNodeAround}, but will match all nodes after the given position (testing outer nodes before inner nodes). + * Find the outermost matching node after a given position. */ export const findNodeAfter: typeof findNodeAround +/** + * Find the outermost matching node before a given position. + */ +export const findNodeBefore: typeof findNodeAround + export const base: RecursiveVisitors