From d74e9507f7be8e8c8941559e13fdeb573cb8c8b8 Mon Sep 17 00:00:00 2001 From: megos Date: Wed, 13 Nov 2024 18:21:35 +0900 Subject: [PATCH] [styled-engine-sc] Fix missing `@types/hoist-non-react-statics` causing `styled` returns any (#44397) --- packages/mui-styled-engine-sc/package.json | 2 +- pnpm-lock.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/mui-styled-engine-sc/package.json b/packages/mui-styled-engine-sc/package.json index 503bddbe4e3519..1995579efbf5ff 100644 --- a/packages/mui-styled-engine-sc/package.json +++ b/packages/mui-styled-engine-sc/package.json @@ -38,6 +38,7 @@ }, "dependencies": { "@babel/runtime": "^7.26.0", + "@types/hoist-non-react-statics": "^3.3.5", "csstype": "^3.1.3", "hoist-non-react-statics": "^3.3.2", "prop-types": "^15.8.1" @@ -45,7 +46,6 @@ "devDependencies": { "@mui/internal-test-utils": "workspace:^", "@types/chai": "^4.3.20", - "@types/hoist-non-react-statics": "^3.3.5", "@types/react": "^18.3.12", "chai": "^4.5.0", "react": "^18.3.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f6894f890d183e..46b6f9a94542c4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1940,6 +1940,9 @@ importers: '@babel/runtime': specifier: ^7.26.0 version: 7.26.0 + '@types/hoist-non-react-statics': + specifier: ^3.3.5 + version: 3.3.5 csstype: specifier: ^3.1.3 version: 3.1.3 @@ -1956,9 +1959,6 @@ importers: '@types/chai': specifier: ^4.3.20 version: 4.3.20 - '@types/hoist-non-react-statics': - specifier: ^3.3.5 - version: 3.3.5 '@types/react': specifier: ^18.3.12 version: 18.3.12