Skip to content

Support top level await #626

Closed
Closed
@dsherret

Description

@dsherret

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions