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

[typescript] Fix sx types #200

Merged
merged 1 commit into from
Aug 8, 2024
Merged

[typescript] Fix sx types #200

merged 1 commit into from
Aug 8, 2024

Conversation

siriwatknp
Copy link
Member

@siriwatknp siriwatknp commented Aug 8, 2024

Issue

This previous fix causes Material UI build fails because the SxProp tries to get theme from an empty ThemeArgs.

The reason that Pigment CSS did not catch the error in the PR is because the project has augmented the theme types in index.spec.ts which causes the build to pass.

Will need to move all spec in a separate test environment so that it catches errors like this before merging.

Copy link
Contributor

@brijeshb42 brijeshb42 left a comment

Choose a reason for hiding this comment

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

Does this need a release?

@siriwatknp
Copy link
Member Author

siriwatknp commented Aug 8, 2024

Does this need a release?

Yes. I will create one after testing this PR with the core repo. Tested, the build passed.

@siriwatknp siriwatknp merged commit ef5c37a into master Aug 8, 2024
17 of 19 checks passed
@siriwatknp siriwatknp deleted the fix/sx-types branch August 8, 2024 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants