diff --git a/package.json b/package.json index 6642b7bfa3..b6ebbf2e8b 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "@sentry-internal/eslint-plugin-sdk": "5.27.4", "@sentry/typescript": "^5.20.0", "@types/jest": "^26.0.15", - "@types/react": "^16.9.49", + "@types/react": "^17.0.0", "@types/react-native": "^0.63.18", "babel-jest": "^26.1.0", "eslint": "^7.6.0", diff --git a/yarn.lock b/yarn.lock index ae0b395875..cb797ecba0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1374,10 +1374,10 @@ dependencies: "@types/react" "*" -"@types/react@*", "@types/react@^16.9.49": - version "16.9.49" - resolved "https://registry.yarnpkg.com/@types/react/-/react-16.9.49.tgz#09db021cf8089aba0cdb12a49f8021a69cce4872" - integrity sha512-DtLFjSj0OYAdVLBbyjhuV9CdGVHCkHn2R+xr3XkBvK2rS1Y1tkc14XSGjYgm5Fjjr90AxH9tiSzc1pCFMGO06g== +"@types/react@*", "@types/react@^17.0.0": + version "17.0.0" + resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.0.tgz#5af3eb7fad2807092f0046a1302b7823e27919b8" + integrity sha512-aj/L7RIMsRlWML3YB6KZiXB3fV2t41+5RBGYF8z+tAKU43Px8C3cYUZsDvf1/+Bm4FK21QWBrDutu8ZJ/70qOw== dependencies: "@types/prop-types" "*" csstype "^3.0.2"