You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now createPalette and createMuiTheme accept a Partial, but actually they should accept a DeepPartial since they do a deepmerge instead of a shallow merge
Right now createPalette and createMuiTheme accept a Partial, but actually they should accept a DeepPartial since they do a deepmerge instead of a shallow merge
Expected Behavior
Using a palette like this should not give type errors:
Current Behavior
It gives a compilation error, forcing you to cast it to any or to fill in the complete sub-types.
Steps to Reproduce (for bugs)
See code above.
Your Environment
The text was updated successfully, but these errors were encountered: