-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
PigmentCSS createTheme
. Invalid typings in styleOverrides
#44114
Comments
This comment was marked as outdated.
This comment was marked as outdated.
@sai6855 you misunderstood the highlighted problem. In your repro, you are not using PigmentCSS. Please refer to breaking changes when migrating to PigmentCSS, the You could also consider to review the linked issue. That’ll give more details |
I just cloned and tried to repro the typing error from your repo but all the typechecks passed. Could you post a screenshot or cli command or something else that shows the error ? |
@brijeshb42 type check shouldn't be passing.
|
I ran typecheck through cli - tsc -p tsconfig.node.json and tsc -p tsconfig.app.json Both passed without any error. 2nd one logged unused |
@brijeshb42 this line |
I will try to reproduce it tomorrow. |
Steps to reproduce
Link to live example
Steps:
vite.config.ts
Current behavior
components[string].styleOverrides
has invalid typings.No typings errors are presented to the user.
Expected behavior
There should be an error for
styleOverrides.extended
usage invite.config.ts
file from the repro.Context
createTheme
pigment-css#170 (comment)Your environment
npx @mui/envinfo
Search keywords: pigment, styleOverrides, typings, invalid, createTheme
The text was updated successfully, but these errors were encountered: