-
Notifications
You must be signed in to change notification settings - Fork 953
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(web): typing and refactoring #6948
Conversation
/review |
PR Reviewer Guide 🔍
|
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 ⭐ Just one question and an optional suggestion
if (mouseOutRectTimeout) { | ||
clearTimeout(mouseOutRectTimeout); | ||
mouseOutRectTimeout = undefined; | ||
} |
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.
I'm not sure that I understand why we had this in the first place. Do you know what the purpose of it was?
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.
No idea but I've learned that if something seems complicated there's probably a good reason why it's in the code, I would only remove this if I could explain why it was there!
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.
Just some small comments
Add some updates from PR feedback 👍 |
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! 🎉
Issue
Found some motivation to tidy up some long standing any types
Description
This PR refactors and adds types where I could figure them out. There's still a few more to go but this is a nice start. I've tried to minimize the changes of the actual functional code.