TS1109: Expression expected in Box.d.ts #35860
Labels
bug 🐛
Something doesn't work
component: Box
The React component.
regression
A bug, but worse
typescript
Duplicates
Latest version
Steps to reproduce 🕹
Steps:
Current behavior 😯
3 TS errors in node_modules/@mui/material/Box/Box.d.ts:15:
Expected behavior 🤔
tsc should complete without errors
Context 🔦
Probably introduced with https://github.com/mui/material-ui/pull/35532/files#diff-427bcf01d3498e79c0ef95d5426b7bdfc0694f490da7ba41cd44f9957c73ead7 where the
ReturnType
of a generic function is used.Your environment 🌎
npx @mui/envinfo
tsconfig:
The text was updated successfully, but these errors were encountered: