You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm sorry I don't have docs yet. The names follow the same names used by the babel ast so if you poke around you'll probably find it. You can also look at the typescript types to see the available options. One helpful resource is https://astexplorer.net.
Just make sure that @babel/parser is enabled with tsx and jsx support.
I want to generate this code. notice the optional method paramter.
This is my tsx:
This code was generated:
How do I generate optional method parameters?
It would be great if there were some kinds of docs or more examples on how to build common js/ts patterns.
The text was updated successfully, but these errors were encountered: