Skip to content

Visiting a custom AST without position field doesn't seem to work (sometimes)? #178

Answered by ChristianMurphy
horacioh asked this question in Q&A
Discussion options

You must be logged in to vote

and my visitor function signature defines the parent seems to break the visit?
because parent is defined in the visitor function it just hangs

Are you using TypeScript 4.5 by any chance? This could be the same as #175
In which case downgrade to TypeScript 4.4 for now, while we wait for microsoft/TypeScript#46900 to be addressed.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@horacioh
Comment options

Answer selected by horacioh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants