⬇️(deps) downgrade @types/react to 18.2.21

It was causing compilation issue when using React.StrictMode, see this
https://github.com/DefinitelyTyped/DefinitelyTyped/issues/66841
This commit is contained in:
Nathan Vasse
2023-09-27 16:28:54 +02:00
committed by NathanVss
parent 9c8331be5b
commit 3e2d5994f3
3 changed files with 6 additions and 6 deletions

View File

@@ -14,7 +14,7 @@
"@openfun/cunningham-react": "*",
"@openfun/cunningham-tokens": "*",
"@openfun/typescript-configs": "*",
"@types/react": "18.2.23",
"@types/react": "18.2.21",
"@types/react-dom": "18.2.8",
"@vitejs/plugin-react": "4.1.0",
"react": "18.2.0",

View File

@@ -87,7 +87,7 @@
"@testing-library/react": "14.0.0",
"@testing-library/user-event": "14.5.1",
"@types/jest": "29.5.5",
"@types/react": "18.2.23",
"@types/react": "18.2.21",
"@types/react-dom": "18.2.8",
"@vitejs/plugin-react": "4.1.0",
"@vitest/coverage-c8": "0.33.0",

View File

@@ -5832,10 +5832,10 @@
"@types/scheduler" "*"
csstype "^3.0.2"
"@types/react@18.2.23":
version "18.2.23"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.23.tgz#60ad6cf4895e93bed858db0e03bcc4ff97d0410e"
integrity sha512-qHLW6n1q2+7KyBEYnrZpcsAmU/iiCh9WGCKgXvMxx89+TYdJWRjZohVIo9XTcoLhfX3+/hP0Pbulu3bCZQ9PSA==
"@types/react@18.2.21":
version "18.2.21"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.21.tgz#774c37fd01b522d0b91aed04811b58e4e0514ed9"
integrity sha512-neFKG/sBAwGxHgXiIxnbm3/AAVQ/cMRS93hvBpg8xYRbeQSPVABp9U2bRnPf0iI4+Ucdv3plSxKK+3CW2ENJxA==
dependencies:
"@types/prop-types" "*"
"@types/scheduler" "*"