diff --git a/package.json b/package.json index d7859a4328..aa2af16887 100644 --- a/package.json +++ b/package.json @@ -333,5 +333,8 @@ "worker-loader": "^2.0.0", "yo-yo": "github:ioedeveloper/yo-yo", "yo-yoify": "^3.7.3" + }, + "resolutions": { + "@types/react": "^17.0.24" } } diff --git a/yarn.lock b/yarn.lock index cb672013a1..0ecec13c7a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4454,7 +4454,7 @@ dependencies: "@types/react" "*" -"@types/react@*", "@types/react@>=16.14.8", "@types/react@>=16.9.11", "@types/react@^17.0.24": +"@types/react@*", "@types/react@16 || 17 || 18", "@types/react@>=16.14.8", "@types/react@>=16.9.11", "@types/react@^17.0.24": version "17.0.28" resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.28.tgz#b40967e79af8f32182c6f6f2655ba196bafc7202" integrity sha512-6OmflHgk2DlnsFi49kBW3/Dql1GT32bYSk+A6tFBDAt0T0bxotBdQwXkm77lVlczHwY6+Wu6IfpsGqArjOYtaA== @@ -4463,15 +4463,6 @@ "@types/scheduler" "*" csstype "^3.0.2" -"@types/react@16 || 17 || 18": - version "18.0.14" - resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.14.tgz#e016616ffff51dba01b04945610fe3671fdbe06d" - integrity sha512-x4gGuASSiWmo0xjDLpm5mPb52syZHJx02VKbqUKdLmKtAwIh63XClGsiTI1K6DO5q7ox4xAsQrU+Gl3+gGXF9Q== - dependencies: - "@types/prop-types" "*" - "@types/scheduler" "*" - csstype "^3.0.2" - "@types/readable-stream@^2.3.11": version "2.3.13" resolved "https://registry.yarnpkg.com/@types/readable-stream/-/readable-stream-2.3.13.tgz#46451c1b87cb61010e420ac02a76cfc1b2c2089a"