Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

siriwatknp
Copy link
Member

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).


@@ -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
Copy link
Member Author

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.

@mui-bot
Copy link

mui-bot commented Mar 10, 2025

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:
Copy link
Member

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

Copy link
Member Author

@siriwatknp siriwatknp Mar 10, 2025

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants