Closed aloisklink closed 1 month ago
Attention: Patch coverage is 0%
with 84 lines
in your changes are missing coverage. Please review.
Project coverage is 5.72%. Comparing base (
50c9ede
) to head (730fa89
).
Yeah, this is definitely a better way to interact with Maps 👍🏾 .
:bookmark_tabs: Summary
I'm not a big fan of using TypeScript's non-null assertion operator (e.g.
map.get(val)!
).Instead, I've tried to rewrite the code when possible, so it's not needed. E.g., instead of doing:
I've tried to do things that TypeScript can understand, e.g.
There's also some other misc improvements I found when reviewing #5468.
There should be no functional changes to the code, this is a refactoring only change.
:straight_ruler: Design Decisions
Describe the way your implementation works or what design decisions you made if applicable.
:clipboard: Tasks
Make sure you
MERMAID_RELEASE_VERSION
is used for all new features.develop
branch