-
Notifications
You must be signed in to change notification settings - Fork 80
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
chore(binding-coap): enable strict-boolean-expressions and null checks #1088
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #1088 +/- ##
=======================================
Coverage 75.31% 75.32%
=======================================
Files 80 80
Lines 16060 16057 -3
Branches 1503 1503
=======================================
- Hits 12096 12095 -1
+ Misses 3925 3923 -2
Partials 39 39
☔ View full report in Codecov by Sentry. |
091a4fa
to
ea9a4c8
Compare
8209c00
to
fd72a5d
Compare
I still didn't have proper time to review this, I want to be sure that is sufficient for check only for |
I haven't found a really good documentation link to point here, but some further explanations can be found here: https://basarat.gitbook.io/typescript/recap/null-undefined#checking-for-either |
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.
Silly me, I'm so used to the !==
operator that I didn't even notice that you used the less strict version. Good to go.
This PR addresses one of the checkmarks in #1046.