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

Set target to ES2022 and lib to ES2023 #2751

Merged
merged 1 commit into from
Sep 23, 2024
Merged

Set target to ES2022 and lib to ES2023 #2751

merged 1 commit into from
Sep 23, 2024

Conversation

Mrtenz
Copy link
Member

@Mrtenz Mrtenz commented Sep 21, 2024

This updates the TypeScript target to ES2022, and sets includes the ES2023 lib. This matches what we use in the MetaMask extension, and removes the need for certain polyfills (when using hash private class properties for example).

@Mrtenz Mrtenz requested a review from a team as a code owner September 21, 2024 15:25
Copy link

codecov bot commented Sep 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.35%. Comparing base (490e547) to head (a5813fc).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2751   +/-   ##
=======================================
  Coverage   94.35%   94.35%           
=======================================
  Files         476      476           
  Lines       10138    10139    +1     
  Branches     1542     1542           
=======================================
+ Hits         9566     9567    +1     
  Misses        572      572           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Mrtenz Mrtenz merged commit 3a7cc20 into main Sep 23, 2024
165 checks passed
@Mrtenz Mrtenz deleted the mrtenz/target-es2022 branch September 23, 2024 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants