Error in top level await parse
chema97ic opened this issue · comments
chema97ic commented
Hi!
Im trying to parse a script that has a simple top level await fetch("https://example.com") and recast is throwing Unexpected identifier error. Is there a way to let it know you are using a module instead of a normal script? the same way you can do with esprima?
Ferdinand Prantl commented
Duplicate of #1154.