From 9acdf024cc6d88f394f82d1ef54f5b9e51250df9 Mon Sep 17 00:00:00 2001 From: sebastien Date: Fri, 6 Dec 2024 15:09:36 +0100 Subject: [PATCH] React 19 types --- package.json | 2 +- .../docusaurus-module-type-aliases/package.json | 2 +- yarn.lock | 14 ++++---------- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index 605b19aa5c79..c6831e4a3564 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ "@types/lodash": "^4.14.197", "@types/node": "^18.16.19", "@types/prompts": "^2.4.4", - "@types/react": "^18.2.15", + "@types/react": "^19.0.0", "@types/react-dev-utils": "^9.0.11", "@types/react-test-renderer": "^19.0.0", "@types/semver": "^7.5.0", diff --git a/packages/docusaurus-module-type-aliases/package.json b/packages/docusaurus-module-type-aliases/package.json index a7ba21f20ea4..2316d61fc5d7 100644 --- a/packages/docusaurus-module-type-aliases/package.json +++ b/packages/docusaurus-module-type-aliases/package.json @@ -14,7 +14,7 @@ "dependencies": { "@docusaurus/types": "3.6.3", "@types/history": "^4.7.11", - "@types/react": "*", + "@types/react": "^19.0.0", "@types/react-router-config": "*", "@types/react-router-dom": "*", "react-helmet-async": "*", diff --git a/yarn.lock b/yarn.lock index 6f7cce3b49ea..40f81505dd88 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4174,11 +4174,6 @@ "@types/node" "*" kleur "^3.0.3" -"@types/prop-types@*": - version "15.7.13" - resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.13.tgz#2af91918ee12d9d32914feb13f5326658461b451" - integrity sha512-hCZTSvwbzWGvhqxp/RqVqwU999pBf2vp7hzIjiYOsl8wqOmUxkQ6ddw1cV3l8811+kdUFus/q4d1Y3E3SyEifA== - "@types/qs@*": version "6.9.16" resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.16.tgz#52bba125a07c0482d26747d5d4947a64daf8f794" @@ -4241,12 +4236,11 @@ dependencies: "@types/react" "*" -"@types/react@*", "@types/react@^18.2.15": - version "18.3.12" - resolved "https://registry.yarnpkg.com/@types/react/-/react-18.3.12.tgz#99419f182ccd69151813b7ee24b792fe08774f60" - integrity sha512-D2wOSq/d6Agt28q7rSI3jhU7G6aiuzljDGZ2hTZHIkrTLUI+AF3WMeKkEZ9nN2fkBAlcktT6vcZjDFiIhMYEQw== +"@types/react@*", "@types/react@^19.0.0": + version "19.0.0" + resolved "https://registry.yarnpkg.com/@types/react/-/react-19.0.0.tgz#fbbb53ce223f4e2b750ad5dd09580b2c43522bbf" + integrity sha512-MY3oPudxvMYyesqs/kW1Bh8y9VqSmf+tzqw3ae8a9DZW68pUe3zAdHeI1jc6iAysuRdACnVknHP8AhwD4/dxtg== dependencies: - "@types/prop-types" "*" csstype "^3.0.2" "@types/relateurl@*":