-
-
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
[core] Remove React.ReactElement<any> from describeConformance.tsx #44318
Conversation
Netlify deploy previewhttps://deploy-preview-44318--material-ui.netlify.app/ Bundle size report |
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.
Only one comment 😊
} & React.RefAttributes<HTMLDivElement> | ||
>; | ||
}; | ||
components: { |
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.
We should make components
and componentsProps
optional (?
), as they're deprecated APIs and their usage is optional (with the testLegacyComponentsProp
flag).
Is there a way for us to do that and silence the warnings that might appear inside the testLegacyComponentsProp
tests?
part of #42380
With this PR all of
React.ReactElement<any>
types are removed, except in base and joy files