-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support top level await #626
Comments
@kdy1 I think there is a slight bug in that code. Looks like it shifted the class declaration position. It should be 0: https://github.com/swc-project/swc/pull/627/files#diff-8216cd047b4ca3e65cb89734b4697652 |
I'll submit a fix. |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Describe the feature
Would be nice to now support top level await:
I believe this would be a feature that isn't compiled and is only supported when targeting
es2017
.https://devblogs.microsoft.com/typescript/announcing-typescript-3-8-beta/#top-level-await
The text was updated successfully, but these errors were encountered: