-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
Wrong typings for makeStyles #13718
Copy link
Copy link
Closed
Labels
scope: stylesSpecific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5.Specific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5.type: bugIt doesn't behave as expected.It doesn't behave as expected.typescript
Metadata
Metadata
Assignees
Labels
scope: stylesSpecific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5.Specific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5.type: bugIt doesn't behave as expected.It doesn't behave as expected.typescript
Expected Behavior
It should compile without errors
Current Behavior
I'm getting
Type error: Expected 1 arguments, but got 2. TS2554when usingmakeStyleswith 2nd argument