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
Start a TypeScript project with @mui/material using a strict package manager (e.g., pnpm or Yarn PnP) and with skipLibCheck set to false
Current behavior
Type errors:
Error: ./node_modules/@mui/utils/appendOwnerState/appendOwnerState.d.ts(2,26): error TS2307: Cannot find module '@mui/types' or its corresponding type declarations.
Error: ./node_modules/@mui/utils/mergeSlotProps/mergeSlotProps.d.ts(3,26): error TS2307: Cannot find module '@mui/types' or its corresponding type declarations.
Error: ./node_modules/@mui/utils/useSlotProps/useSlotProps.d.ts(33,253): error TS2307: Cannot find module '@mui/types' or its corresponding type declarations.
This is caused by the fact that @mui/utils references @mui/types, but does not have a dependency on it.
Expected behavior
No type errors
Context
No response
Your environment
npx @mui/envinfo
Don't forget to mention which browser you used.
Output from `npx @mui/envinfo` goes here.
The text was updated successfully, but these errors were encountered:
Search keywords
type errors @mui/utiles
Latest version
Steps to reproduce
Link to live example: (required)
Steps:
@mui/material
using a strict package manager (e.g., pnpm or Yarn PnP) and withskipLibCheck
set tofalse
Current behavior
Type errors:
This is caused by the fact that
@mui/utils
references@mui/types
, but does not have a dependency on it.Expected behavior
No type errors
Context
No response
Your environment
npx @mui/envinfo
The text was updated successfully, but these errors were encountered: