-
Notifications
You must be signed in to change notification settings - Fork 6.8k
refactor: fix ripple-renderer in TS3.7 #17927
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
Conversation
Another DOM style nullable issue.
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, the CI failure looks like a flake. Marking as safe, because it doesn't change any runtime code or public-facing types.
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. Wondering if we should just add a test job with TS 3.7 to catch such issues. Looks like ripple-render was not the only place (according to #17900)
Paul: usually we transition to TypeScript version++ within a few weeks, so
that might not be worth it for this instance. It might be useful if you
intend to support the old version for a longer period of time. It might
still pay off if you're looking to build generic infrastructure that could
be useful for each language upgrade, not sure.
|
@mprobst Yeah that's fair. It shouldn't be much effort to have a job for that though. I don't know.. probably not a priority either. |
We generally only do the most conservative fix when doing language
upgrades, otherwise we end up spending all our time fighting e.g. mocked
tests that check for precise values.
Your fix is appropriate though, I think. Maybe in a follow up PR?
|
Yeah totally reasonable. Sounds good to me. That helped understanding the process. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Another DOM style nullable issue.