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 would like to add a Typescript Codegen step to my project.
It seems like a good&easy approach would be to construct an AST and then feed it to Prettier to output. Is there an established method to do this or is it new territory for the project?
Is there an AST transformation step that I can hook into? Is it strongly typed?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I would like to add a Typescript Codegen step to my project.
It seems like a good&easy approach would be to construct an AST and then feed it to Prettier to output. Is there an established method to do this or is it new territory for the project?
Is there an AST transformation step that I can hook into? Is it strongly typed?
(I searched for 'codegen' and 'code generation')
Beta Was this translation helpful? Give feedback.
All reactions