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

[types] Fix IsEmptyInterface with optional members #18148

Merged
merged 2 commits into from
Nov 2, 2019

Conversation

amcasey
Copy link
Contributor

@amcasey amcasey commented Nov 2, 2019

This reverts commit 9d0caa5.

The new version of IsEmptyInterface accepts objects with all optional
properties and And and Or actually have negative perf impact on
their own.

This reverts commit 9d0caa5.

The new version of `IsEmptyInterface` accepts objects with all optional
properties and `And` and `Or` actually have negative perf impact on
their own.
@amcasey
Copy link
Contributor Author

amcasey commented Nov 2, 2019

FYI @eps1lon, I thought of an additional test. 😢

@mui-pr-bot
Copy link

No bundle size changes comparing 9d0caa5...917764a

Generated by 🚫 dangerJS against 917764a

@eps1lon eps1lon added bug 🐛 Something doesn't work package: types Specific to @mui/types labels Nov 2, 2019
Copy link
Member

@eps1lon eps1lon left a comment

Choose a reason for hiding this comment

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

FYI @eps1lon, I thought of an additional test.

👍 Thanks for the follow-up.

@eps1lon eps1lon changed the title Revert "[types] Simplify some of the conditional types (#18128)" [types] Fix IsEmptyInterface with optional members Nov 2, 2019
@eps1lon eps1lon merged commit 0aec966 into mui:master Nov 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work package: types Specific to @mui/types
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants