diff --git a/types/index.d.ts b/types/index.d.ts index 09a9c37..75e23ec 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -38,7 +38,7 @@ declare namespace visit { type Visitor = ( node: V, index: number, - parent: Node + parent: Parent | undefined ) => void | Action | Index | ActionTuple }