-
Notifications
You must be signed in to change notification settings - Fork 629
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
refactor(http): prepare for noUncheckedIndexedAccess
#4298
refactor(http): prepare for noUncheckedIndexedAccess
#4298
Conversation
c804908
to
b407c65
Compare
Hi Gabriele, thank you for the PR. PTAL at #4275 (review). It details how these PRs for #4040 should be approached. |
Hi @iuioiua, thanks for the suggestion, I think I did it better now. However, I have a doubt about these two functions: and I tested with unit tests and seems theses two function can be replaced with |
Yeah, you're mostly right. Each of these can be replaced by |
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. @kitsonk, please feel free to review as this code was introduced to the codebase by you.
Ref: #4040