D
Deno

help

Can I use deno_ast to transpile arbitrary typescript?

CCircuitSacul1/19/2024
I'm just wondering if it's safe to use deno_ast to transpile arbitrary (user-generated) typescript to javascript.
Bbartlomieju1/19/2024
It is, but you must provide proper configuration to I'd
CCircuitSacul1/19/2024
can you provide more info on that? What configuration?
Bbartlomieju1/20/2024
deno_ast has some sort of default transpiration options that might not be correct for the exact TS you're trying to trasnpilr. I encourage you to give it a go with defaults and see if it works. If not you will have to treat them - i can give some examples ion Monday as I'm currently AFK

Looking for more? Join the community!