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

[charts] Improve themeAugmentation typing #13433

Merged
merged 2 commits into from
Jun 10, 2024

Conversation

noraleonte
Copy link
Contributor

Not sure if this interferes with anything, but noticed it when a CI failed on the dashboard.

@noraleonte noraleonte added typescript component: charts This is the name of the generic UI component, not the React module! customization: theme Centered around the theming features labels Jun 10, 2024
@mui-bot
Copy link

mui-bot commented Jun 10, 2024

Deploy preview: https://deploy-preview-13433--material-ui-x.netlify.app/

Generated by 🚫 dangerJS against b346dda

@LukasTy LukasTy changed the title [Charts] Improve themeAugmentation typing [charts] Improve themeAugmentation typing Jun 10, 2024
Copy link
Member

@LukasTy LukasTy left a comment

Choose a reason for hiding this comment

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

A very welcome and logical improvement. 👍

I think that you might have missed the Theme declaration on module declaration, i.e.:

interface Components<Theme = unknown> extends PickerComponents<Theme> {}

@noraleonte
Copy link
Contributor Author

@LukasTy Thanks 🎉 Hawk's eye as always 😅

@noraleonte noraleonte merged commit ece9ce0 into mui:master Jun 10, 2024
17 checks passed
@noraleonte noraleonte deleted the theme-augmentation-typing branch June 10, 2024 12:19
@michelengelen michelengelen changed the title [charts] Improve themeAugmentation typing [charts] Improve themeAugmentation typing Jun 10, 2024
DungTiger pushed a commit to DungTiger/mui-x that referenced this pull request Jul 23, 2024
thomasmoon pushed a commit to thomasmoon/mui-x that referenced this pull request Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: charts This is the name of the generic UI component, not the React module! customization: theme Centered around the theming features typescript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants