Skip to content

Commit

Permalink
Bump @types/react to v18.2.48 (#40457)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ZeeshanTamboli <[email protected]>
  • Loading branch information
renovate[bot] and ZeeshanTamboli authored Jan 19, 2024
1 parent 6e6dff7 commit 4b0edc9
Show file tree
Hide file tree
Showing 26 changed files with 219 additions and 219 deletions.
2 changes: 1 addition & 1 deletion apps/zero-runtime-next-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"devDependencies": {
"@mui/zero-next-plugin": "workspace:^",
"@types/node": "^20.5.7",
"@types/react": "^18.2.45",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"eslint": "^8.56.0",
"typescript": "^5.3.3"
Expand Down
2 changes: 1 addition & 1 deletion apps/zero-runtime-vite-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@mui/material": "workspace:^",
"@mui/utils": "workspace:^",
"@mui/zero-vite-plugin": "workspace:^",
"@types/react": "^18.2.47",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
"postcss": "^8.4.33",
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
"@types/markdown-to-jsx": "^7.0.1",
"@types/node": "^18.19.7",
"@types/prop-types": "^15.7.11",
"@types/react": "^18.2.46",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@types/react-swipeable-views": "^0.13.5",
"@types/react-swipeable-views-utils": "^0.13.7",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
"@types/mocha": "^10.0.6",
"@types/node": "^18.19.7",
"@types/prettier": "^2.7.3",
"@types/react": "^18.2.46",
"@types/react": "^18.2.48",
"@types/yargs": "^17.0.32",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
Expand Down Expand Up @@ -207,7 +207,7 @@
"@definitelytyped/typescript-versions": "^0.0.184",
"@definitelytyped/utils": "^0.0.191",
"@types/node": "^18.19.7",
"@types/react": "^18.2.46",
"@types/react": "^18.2.48",
"@types/react-dom": "18.2.18",
"cross-fetch": "^4.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@testing-library/user-event": "^14.5.2",
"@types/chai": "^4.3.11",
"@types/prop-types": "^15.7.11",
"@types/react": "18.2.46",
"@types/react": "18.2.48",
"@types/react-dom": "18.2.18",
"@types/sinon": "^10.0.20",
"chai": "^4.4.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"prop-types": "^15.8.1"
},
"devDependencies": {
"@types/react": "^18.2.46",
"@types/react": "^18.2.48",
"react": "^18.2.0"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-envinfo/test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/react": "^18.2.46"
"@types/react": "^18.2.48"
}
}
2 changes: 1 addition & 1 deletion packages/mui-icons-material/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@mui/internal-waterfall": "workspace:^",
"@mui/material": "workspace:^",
"@types/chai": "^4.3.11",
"@types/react": "^18.2.46",
"@types/react": "^18.2.48",
"chai": "^4.4.1",
"chalk": "^5.3.0",
"cross-fetch": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-joy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"@mui/material": "workspace:^",
"@types/chai": "^4.3.11",
"@types/prop-types": "^15.7.11",
"@types/react": "^18.2.46",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@types/sinon": "^10.0.20",
"chai": "^4.4.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-lab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@mui-internal/test-utils": "workspace:^",
"@types/chai": "^4.3.11",
"@types/prop-types": "^15.7.11",
"@types/react": "^18.2.46",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@types/sinon": "^10.0.20",
"chai": "^4.4.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-material-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@testing-library/user-event": "^14.5.2",
"@types/chai": "^4.3.11",
"@types/prop-types": "^15.7.11",
"@types/react": "^18.2.46",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@types/react-is": "^18.2.4",
"@types/sinon": "^10.0.20",
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-material-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@emotion/cache": "^11.11.0",
"@emotion/react": "^11.11.3",
"@emotion/server": "^11.11.0",
"@types/react": "^18.2.46",
"@types/react": "^18.2.48",
"next": "13.4.19",
"react": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-material/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"@testing-library/user-event": "^14.5.2",
"@types/chai": "^4.3.11",
"@types/prop-types": "^15.7.11",
"@types/react": "^18.2.46",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@types/sinon": "^10.0.20",
"chai": "^4.4.1",
Expand Down
16 changes: 8 additions & 8 deletions packages/mui-material/src/CardHeader/CardHeader.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,20 @@ function createElementBasePropMixedTest() {
React.createElement<CardHeaderProps>(CardHeader, {
disableTypography: true,
});
// @ts-expect-error CardHeader does not accept unknownProp
React.createElement<CardHeaderProps<DefaultComponent, {}, React.ElementType>>(CardHeader, {
// @ts-expect-error CardHeader does not accept unknownProp
unknownProp: 'shouldNotWork',
});
// @ts-expect-error disableTypography does not accept strings
React.createElement<CardHeaderProps>(CardHeader, {
// @ts-expect-error disableTypography does not accept strings
disableTypography: 'hello',
});
// @ts-expect-error disableTypography does not accept numbers
React.createElement<CardHeaderProps>(CardHeader, {
// @ts-expect-error disableTypography does not accept numbers
disableTypography: 1,
});
// @ts-expect-error `component` is not a valid element
React.createElement<CardHeaderProps<any, ComponentProp>>(CardHeader, {
// @ts-expect-error `component` is not a valid element
component: 'incorrectElement',
});
}
Expand All @@ -55,9 +55,9 @@ function createElementTypographyTest() {
align: 'center',
},
});
// @ts-expect-error
React.createElement<CardHeaderProps>(CardHeader, {
titleTypographyProps: {
// @ts-expect-error
align: 'incorrectAlign',
},
});
Expand All @@ -66,9 +66,9 @@ function createElementTypographyTest() {
variant: 'body1',
},
});
// @ts-expect-error
React.createElement<CardHeaderProps>(CardHeader, {
titleTypographyProps: {
// @ts-expect-error
variant: 123,
},
});
Expand Down Expand Up @@ -105,14 +105,14 @@ function createElementTypographyTest() {
unknownProp: 'shouldNotWork',
},
});
// @ts-expect-error
React.createElement<CardHeaderProps<DefaultComponent, {}, React.ElementType>>(CardHeader, {
titleTypographyProps: {
// @ts-expect-error
component: 'incorrectComponent',
},
});
// @ts-expect-error
React.createElement<CardHeaderProps>(CardHeader, {
// @ts-expect-error
titleTypographyProps: true,
});
}
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-private-theming/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@mui-internal/test-utils": "workspace:^",
"@mui/types": "workspace:^",
"@types/chai": "^4.3.11",
"@types/react": "^18.2.46",
"@types/react": "^18.2.48",
"chai": "^4.4.1",
"react": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-styled-engine-sc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@mui/styled-engine-sc": "workspace:*",
"@types/chai": "^4.3.11",
"@types/hoist-non-react-statics": "^3.3.5",
"@types/react": "^18.2.46",
"@types/react": "^18.2.48",
"chai": "^4.4.1",
"react": "^18.2.0",
"styled-components": "^6.1.8"
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-styled-engine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@mui-internal/test-utils": "workspace:^",
"@mui/styled-engine": "workspace:*",
"@types/chai": "^4.3.11",
"@types/react": "^18.2.46",
"@types/react": "^18.2.48",
"chai": "^4.4.1",
"react": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-styles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@mui-internal/test-utils": "workspace:^",
"@mui/material": "workspace:^",
"@types/chai": "^4.3.11",
"@types/react": "^18.2.46",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@types/sinon": "^10.0.20",
"chai": "^4.4.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@mui/system": "workspace:*",
"@types/chai": "^4.3.11",
"@types/prop-types": "^15.7.11",
"@types/react": "^18.2.46",
"@types/react": "^18.2.48",
"@types/sinon": "^10.0.20",
"chai": "^4.4.1",
"fast-glob": "^3.3.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"devDependencies": {
"@mui/types": "workspace:*",
"@types/react": "^18.2.46"
"@types/react": "^18.2.48"
},
"peerDependencies": {
"@types/react": "^17.0.0 || ^18.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@types/chai": "^4.3.11",
"@types/mocha": "^10.0.6",
"@types/node": "^18.19.7",
"@types/react": "^18.2.46",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@types/react-is": "^18.2.4",
"@types/sinon": "^10.0.20",
Expand Down
2 changes: 1 addition & 1 deletion packages/test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@types/enzyme": "^3.10.18",
"@types/format-util": "^1.0.4",
"@types/prop-types": "^15.7.11",
"@types/react": "^18.2.46",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@types/react-test-renderer": "^18.0.7",
"@types/sinon": "^10.0.20",
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript-to-proptypes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@types/lodash": "^4.14.202",
"@types/node": "^18.19.7",
"@types/prettier": "^2.7.3",
"@types/react": "^18.2.46",
"@types/react": "^18.2.48",
"@types/uuid": "^9.0.7",
"chai": "^4.4.1",
"fast-glob": "^3.3.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/zero-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@types/lodash.merge": "^4.6.9",
"@types/lodash.set": "^4.3.9",
"@types/node": "^18.19.7",
"@types/react": "^18.2.31",
"@types/react": "^18.2.48",
"@types/stylis": "^4.2.0",
"react": "^18.2.0"
},
Expand Down
Loading

0 comments on commit 4b0edc9

Please sign in to comment.