We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3221fa5 commit 7f1dff1Copy full SHA for 7f1dff1
acorn-walk/src/walk.d.ts
@@ -141,8 +141,8 @@ export function make<TState>(
141
*/
142
export function findNodeAt<TState>(
143
node: acorn.Node,
144
- start: number | undefined,
145
- end?: number | undefined,
+ start: number | undefined | null,
+ end?: number | undefined | null,
146
type?: FindPredicate | string,
147
base?: RecursiveVisitors<TState>,
148
state?: TState
@@ -158,7 +158,7 @@ export function findNodeAt<TState>(
158
159
export function findNodeAround<TState>(
160
161
162
163
164
0 commit comments