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
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: