Closed benmneb closed 1 year ago
Working just fine for me, BUT, I have...
devDependency: "@types/mui-image": "^1.0.1",
...in my package.json
, perhaps that's whats missing in your StackBlitz?
thanks for commenting! i have that package in the blitz, so i dont know why its not working there (or in codesandbox). but i just made a local project and everything is fine there, so i guess its a blitz/sandbox thing. the same project in vscode.dev doesnt show the typescript errors either 🤷 thanks again
It would appear that all the types for this package https://www.npmjs.com/package/@types/mui-image written as
React.CSSProperties['whatever it is']
dont actually work. They just come through asany
.StackBlitz example.
Anyone know how to fix this? I was trying to avoid manually copying and pasting them all in.