#Get AST of something from an imported file

3 messages · Page 1 of 1 (latest)

fossil vine
#

Hello, I'm writing a simple transformer for my program, and I would like to get the AST (just to view, not to change) of a namespace definition in another file (it's imported into the file I want to transform). How do I do this?

Thanks!

shy linden
#

You might need to set the parser to typescript