Skip to content

fix: allow top level await#1196

Merged
achingbrain merged 3 commits intomasterfrom
fix/allow-top-level-await
Apr 27, 2023
Merged

fix: allow top level await#1196
achingbrain merged 3 commits intomasterfrom
fix/allow-top-level-await

Conversation

@achingbrain
Copy link
Copy Markdown
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
Copy Markdown

🎉 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