Skip to content

Commit 1d50286

Browse files
authored
Fix some errors in walk types
* Remove duplicate function * end is optional in findNodeAt
1 parent 97801f0 commit 1d50286

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

acorn-walk/dist/walk.d.ts

+1-10
Original file line numberDiff line numberDiff line change
@@ -94,16 +94,7 @@ declare module "acorn-walk" {
9494
export function findNodeAt<TState>(
9595
node: Node,
9696
start: number | undefined,
97-
end: number | undefined,
98-
type: string,
99-
base?: RecursiveVisitors<TState>,
100-
state?: TState
101-
): Found<TState> | undefined;
102-
103-
export function findNodeAt<TState>(
104-
node: Node,
105-
start: number | undefined,
106-
end: number | undefined,
97+
end?: number | undefined,
10798
type?: FindPredicate,
10899
base?: RecursiveVisitors<TState>,
109100
state?: TState

0 commit comments

Comments
 (0)