Skip to content

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Jan 15, 2020

BREAKING: Remove CoerceEmptyInterface from @material-ui/types. We don't need it in any of our packages. If you need it you can introduce it into your app:

/**	
 * Returns an empty object type if T is any, otherwise returns T	
 */	
export type CoerceEmptyInterface<T> = IsAny<T> extends true ? {} : T;

Ref: eps1lon/mui-types-perf#1 (comment)

@eps1lon eps1lon added breaking change Introduces changes that are not backward compatible. package: types Specific to types package. labels Jan 15, 2020
@mui-pr-bot
Copy link

No bundle size changes comparing c8d9df0...066d883

Generated by 🚫 dangerJS against 066d883

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Introduces changes that are not backward compatible. package: types Specific to types package.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants