Using Generated Types #1786
Replies: 2 comments 7 replies
-
I believe the existing interface was designed to support the scenario where all the visit methods return something Anyhow
So you can instead call the Another approach is that I had some luck defining a variable return type based on the input's type, maybe it is something that |
Beta Was this translation helpful? Give feedback.
-
BTW the CST visitor APIs is something that definitively has room for improvement or even a re-write #1039 |
Beta Was this translation helpful? Give feedback.
-
Is this how you would use them? Or is there some cool TS ninja moves I don't know that could simplify this?
Beta Was this translation helpful? Give feedback.
All reactions