-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
feat: support parsing satisfies
operators
#5717
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
feat: support parsing satisfies
operators
#5717
Conversation
Thanks for the PR, @sosukesuzuki! typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community. The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately. Thanks again! 🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint. As a thank you, your profile/company logo will be added to our main README which receives thousands of unique visitors per day. |
✅ Deploy Preview for typescript-eslint ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
d60f18b
to
3f346d6
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #5717 +/- ##
=======================================
Coverage 91.29% 91.29%
=======================================
Files 366 366
Lines 12347 12348 +1
Branches 3610 3610
=======================================
+ Hits 11272 11273 +1
Misses 767 767
Partials 308 308
Flags with carried forward coverage won't be shown. Click here to find out more.
|
599ac1a
to
2ea0aac
Compare
packages/shared-fixtures/fixtures/typescript/expressions/satisfies-expression.src.ts
Outdated
Show resolved
Hide resolved
packages/typescript-estree/src/parseSettings/warnAboutTSVersion.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for doing this!
For reference, changes I made prior to merging:
- update babel packages so it supports the satisfies operator
- converted the fixture test from a "shared fixtures" test to a new and shiny "ast-spec" test.
- this is the preferred way of doing these ast tests going forward as we can more easily split them, compare with babel etc
Co-authored-by: Josh Goldberg <git@joshuakgoldberg.com> Co-authored-by: Brad Zacher <brad.zacher@gmail.com>
PR Checklist
Overview
Based on #5716
Adds parsing support for
satisfies
operator.