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

fix: allow top level await #1196

Merged
merged 3 commits into from
Apr 27, 2023
Merged

fix: allow top level await #1196

merged 3 commits into from
Apr 27, 2023

Conversation

achingbrain
Copy link
Member

@achingbrain achingbrain commented Feb 22, 2023

Update TS config to use target/module "ES2022" to allow compiling .ts files that use top level await.

Depending on features used this can produce code incompatible with node 15 and below - see https://kangax.github.io/compat-table/es2016plus/ - we only officially support Current and Active LTS (18/19 at the time of writing) so all good here I think.

Update TS config to use target/module "ES2022" to allow compiling
.ts files that use top level await.
@achingbrain achingbrain merged commit e76b978 into master Apr 27, 2023
@achingbrain achingbrain deleted the fix/allow-top-level-await branch April 27, 2023 09:14
github-actions bot pushed a commit that referenced this pull request Apr 27, 2023
## [39.0.1](v39.0.0...v39.0.1) (2023-04-27)

### Bug Fixes

* allow top level await ([#1196](#1196)) ([e76b978](e76b978))

### Dependencies

* bump typedoc-plugin-mdn-links from 2.0.2 to 3.0.3 ([#1209](#1209)) ([536a111](536a111))
@github-actions
Copy link

🎉 This PR is included in version 39.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant