@mui/[email protected]
type exports do not match @mui/[email protected]
#44127
Labels
package: styled-engine-sc
Specific to styled-components
status: waiting for author
Issue with insufficient information
typescript
Steps to reproduce
Link to live example: https://stackblitz.com/~/github.com/pjjanak/mui-typescript-bug?file=package.json
Steps:
Current behavior
When running
tsc
on the above repository the following is outputExpected behavior
No errors are output.
Context
It would seem that styled-engine has new/different exports as of version 6.1.4 than styled-engine-sc at the same version. As a result, typescript fails to compile any project that uses styled-engine-sc in place of styled-engine.
Your environment
npx @mui/envinfo
tsconfig can be found in linked repository
Search keywords: styled-engine-sc typescript
The text was updated successfully, but these errors were encountered: