-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
Bump typescript to ^4.8.2 #33031
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
Bump typescript to ^4.8.2 #33031
Conversation
Your Render PR Server URL is https://mui-pr-33031.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-cadvv4397ej27mv0unsg. |
2b8febf
to
aca4ce1
Compare
@michaldudak could you help out with this one? It currently fails on the @mui/base package check, but to be honest I have no idea what causes this:
I could find this related issue if it helps - microsoft/TypeScript#49383 |
Sure, I'll take a look at it. |
I spent some time today trying to find statements that cause this error, so I can work around it, but I couldn't solve this. |
Alright, let's wait then. |
Good news - TypeScript 4.8 RC does not show this error. Upgrading to it won't be effortless, though, as some checks are now more strict and our code fails in a couple of places (mostly in Base). I'll wait until it's stable before fixing the issues, though. |
d2f3b09
to
ce3a752
Compare
ce3a752
to
f274421
Compare
f274421
to
4fc9d94
Compare
There were a couple of type changes needed due to breaking changes TypeScript 4.8 has introduced. The good part is that the new TS is better at inferring types and it allowed us to remove some |
2a505e4
to
8ef7f6c
Compare
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.
👍 Looks good to me. I pushed one change that removed the casting with proper extends, please check the latest commit.
@mui/x, @mui/toolpad right after I hit "merge" I realized that you might also be affected by this change. Could you please check if it causes any issues on your side? |
It does break on our side but we'll fix to keep up to date with TS 👍 |
I see we have a few breaks on our end as well, but good incentive to update typescript on our side. Will fix asap. |
Sorry for such a late notice |
Well, I just noticed our docs workspace was using typescript 3.8.3 😄 |
Co-authored-by: Michał Dudak <[email protected]> Co-authored-by: siriwatknp <[email protected]>
This PR contains the following updates:
^4.6.4
->^4.8.2
Configuration
📅 Schedule: Branch creation - "on sunday before 6:00am" in timezone UTC, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.