Skip to content
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

Closed
dsherret opened this issue Feb 4, 2020 · 3 comments
Closed

Support top level await #626

dsherret opened this issue Feb 4, 2020 · 3 comments
Assignees
Milestone

Comments

@dsherret
Copy link
Contributor

dsherret commented Feb 4, 2020

Describe the feature

Would be nice to now support top level await:

async function f() {
}
await f();

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

@kdy1 kdy1 self-assigned this Feb 5, 2020
@kdy1 kdy1 added this to the v1.1.18 milestone Feb 5, 2020
@bors bors bot closed this as completed in 94eac1d Feb 5, 2020
@dsherret
Copy link
Contributor Author

dsherret commented Feb 5, 2020

@dsherret
Copy link
Contributor Author

dsherret commented Feb 5, 2020

I'll submit a fix.

@swc-bot
Copy link
Collaborator

swc-bot commented Oct 28, 2022

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.

@swc-project swc-project locked as resolved and limited conversation to collaborators Oct 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
3 participants