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] Change React.ReactElement type from any to unknown #42473

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

sai6855
Copy link
Contributor

@sai6855 sai6855 commented Jun 1, 2024

part of #42380

since there was no activity in the issue, i went ahead and changed instances of React.ReactElement<any> to React.ReactElement<unknown>, There still 15+ instances of React.ReactElement<any,any> to be changed. i'll leave that up to other contributors

@sai6855 sai6855 added typescript package: material-ui Specific to @mui/material labels Jun 1, 2024
@mui-bot
Copy link

mui-bot commented Jun 1, 2024

Netlify deploy preview

https://deploy-preview-42473--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against c3d7b5c

Copy link
Member

@ZeeshanTamboli ZeeshanTamboli left a 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.

Copy link
Member

@DiegoAndai DiegoAndai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @sai6855!

@DiegoAndai DiegoAndai merged commit ef90bce into mui:next Jun 6, 2024
20 of 21 checks passed
joserodolfofreitas pushed a commit to joserodolfofreitas/material-ui that referenced this pull request Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: material-ui Specific to @mui/material typescript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants