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
fix(typescript-estree): support private optional property definition #3997
fix(typescript-estree): support private optional property definition #3997
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. |
Nx Cloud ReportCI ran the following commands for commit 8b58782. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch Sent with 💌 from NxCloud. |
Codecov Report
@@ Coverage Diff @@
## master #3997 +/- ##
==========================================
- Coverage 93.40% 93.38% -0.02%
==========================================
Files 151 168 +17
Lines 8093 9506 +1413
Branches 2568 2943 +375
==========================================
+ Hits 7559 8877 +1318
- Misses 181 237 +56
- Partials 353 392 +39
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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 for taking this on @sosukesuzuki! Just requesting a couple more test cases to make sure it works well with different optional initial values.
packages/shared-fixtures/fixtures/typescript/basics/class-with-private-optional-property.src.ts
Show resolved
Hide resolved
By the way -- most PRs generally are asked to correspond to an existing issue to make make sure the change is something that would be accepted before you spend too much time working on it. This one is a definite win IMO, so just a heads up for next time. 🙂 (echoing from the other thread for visibility) |
d689829
to
8b58782
Compare
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.
noice - thanks for fixing this!
Supports private optional property definition