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(eslint-plugin): skip seenTypes for unions in isTypeReadonly #4043
fix(eslint-plugin): skip seenTypes for unions in isTypeReadonly #4043
Conversation
Thanks for the PR, @JoshuaKGoldberg! 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! |
Codecov Report
@@ Coverage Diff @@
## master #4043 +/- ##
=======================================
Coverage 93.33% 93.33%
=======================================
Files 152 152
Lines 8014 8014
Branches 2568 2569 +1
=======================================
Hits 7480 7480
Misses 180 180
Partials 354 354
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.
noiiice
PR Checklist
Overview
If a type within a union type was already added to
seenTypes
, we don't need to recurse into it.