refactor: use optional chain for better readability#184
Conversation
bcomnes
left a comment
There was a problem hiding this comment.
Thanks, probably left over from an older runtime version range.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #184 +/- ##
==========================================
- Coverage 96.14% 96.03% -0.12%
==========================================
Files 35 36 +1
Lines 2126 2142 +16
Branches 0 84 +84
==========================================
+ Hits 2044 2057 +13
- Misses 82 83 +1
- Partials 0 2 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Be wary that this PR changes the type from Based on the current usage of the |
|
We're still working in js here so its all goooood maaaan. |
|
But good point, random little one-off factors with no 'point' besides updated syntax often have these subtleties that can sometimes bite. |
use optional chain for better readability