[material-ui] Change React.ReactElement<any> to React.ReactElement<unknown>
Part of: https://github.com/mui/material-ui/issues/42380
follow up on https://github.com/mui/material-ui/pull/43358#pullrequestreview-2251397082
As of now, there are 7 instances of React.ReactElementbase/, joy/ folders. Remaining chnages are not straight forward changes from any to unknown, as those requires few more type changes. i'll open a new PR for left over instances
- [x] I have followed (at least) the PR section of the contributing guide.
Netlify deploy preview
https://deploy-preview-43402--material-ui.netlify.app/
Bundle size report
No bundle size changes (Toolpad) No bundle size changes
Generated by :no_entry_sign: dangerJS against d013bd8d09d534537c46c47dfff28717acde42e9
@DiegoAndai updated PR based on https://github.com/mui/material-ui/pull/43402#discussion_r1785562540 https://github.com/mui/material-ui/pull/43402#discussion_r1785558022 it is ready for final review
Thanks @sai6855!