-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[material-ui] Update minimum TypeScript support to 4.9 #45535
base: master
Are you sure you want to change the base?
Conversation
@@ -14,6 +14,28 @@ In the `package.json` file, change the package version from `latest` to `next`. | |||
Using `next` ensures your project always uses the latest v7 pre-releases. | |||
Alternatively, you can also target and fix it to a specific version, for example, `7.0.0-alpha.0`. | |||
|
|||
## Supported browsers and versions | |||
|
|||
### Minimum TypeScript version |
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.
The structure and content is similar to v6 upgrade guide.
Netlify deploy preview
Bundle size report |
However, we recommend not using a TypeScript version older than the lowest supported version by DefinitelyTyped. | ||
::: | ||
|
||
If your project includes these packages, you'll need to update them: |
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.
If possible, I'd specify the minimum required version
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.
Added the minimum React version above (I lean on using the same structure as v6 upgrade guide).
For v7, align with DefinitelyTyped support window (2 years).
Side benefit of this is to align with the ongoing PR that mention about
satisfies
usage (added in TypeScript 4.9).