-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
feat(ast-spec): extract AssignmentOperatorToText
#3570
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
Conversation
Thanks for the PR, @MichaelDeBoey! 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. |
// @ts-expect-error: purposely unused | ||
type _Test = { | ||
readonly [T in AssignmentOperator]: AssignmentOperatorToText[T]; | ||
// If there are any AssignmentOperator members that don't have a corresponding |
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.
Same as in #3529
Comment needed to be added after
readonly
line because of prettier/prettier#11098
81350af
to
b34fbb3
Compare
awaiting updates to #3623 |
1184ebf
to
4d26407
Compare
872d436
to
8e4c873
Compare
4798a51
to
2eed6c5
Compare
872cc6d
to
4985516
Compare
138b4fc
to
e2707e9
Compare
e2707e9
to
1b7a99e
Compare
1b7a99e
to
556b807
Compare
✅ Deploy Preview for typescript-eslint ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
556b807
to
2bf279c
Compare
2bf279c
to
8cba48e
Compare
Codecov Report
@@ Coverage Diff @@
## main #3570 +/- ##
==========================================
+ Coverage 91.33% 91.70% +0.37%
==========================================
Files 132 363 +231
Lines 1488 12205 +10717
Branches 224 3541 +3317
==========================================
+ Hits 1359 11193 +9834
- Misses 65 662 +597
- Partials 64 350 +286
Flags with carried forward coverage won't be shown. Click here to find out more.
|
8cba48e
to
7bbe3e0
Compare
@bradzacher Since #3623 is closed, I guess we can merge this one? 🤔 |
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.
LGTM - thanks!
AssignmentOperatorToText
AssignmentOperatorToText
This also makes
AssignmentExpression
'soperator
more type-safe whenever there would be a newAssignmentOperator