Skip to content

Commit

Permalink
Fix parent type of Visitor (#18)
Browse files Browse the repository at this point in the history
Reviewed-by: Christian Murphy <christian.murphy.42@gmail.com>
Co-authored-by: Christian Murphy <christian.murphy.42@gmail.com>
  • Loading branch information
Murderlon and ChristianMurphy committed Jul 10, 2020
1 parent 7b6a3d5 commit 8cd97bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Expand Up @@ -38,7 +38,7 @@ declare namespace visit {
type Visitor<V extends Node> = (
node: V,
index: number,
parent: Node
parent: Parent | undefined
) => void | Action | Index | ActionTuple
}

Expand Down

0 comments on commit 8cd97bd

Please sign in to comment.