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.
parent
Visitor
1 parent 7b6a3d5 commit 8cd97bdCopy full SHA for 8cd97bd
types/index.d.ts
@@ -38,7 +38,7 @@ declare namespace visit {
38
type Visitor<V extends Node> = (
39
node: V,
40
index: number,
41
- parent: Node
+ parent: Parent | undefined
42
) => void | Action | Index | ActionTuple
43
}
44
0 commit comments