-
Notifications
You must be signed in to change notification settings - Fork 881
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 2022 (and 13) as allowed ecmaVersion
Some features are only supported in 2022 and above. While some of the existing tests already specify 2022 as ecmaVersion (or the equivalent 13 level), it wasn't explicitly listed as allowed option in the documentation or types. Therefore, add the supported ecmaVersion to the list and types. Downstream, we are using acorn and want to specify ecmaVersion 2022 for class field support, but TypeScript prohibits us from doing that at the moment.
- Loading branch information
1 parent
2a460c8
commit 8c8a149
Showing
3 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters