deps-dev: bump @types/react and @types/react-dom

This commit bumps @types/react and @types/react-dom. Notably, this
prevents tsserver from issuing an error when React components return
undefined.
This commit is contained in:
lucasgarfield 2023-09-14 15:56:30 +02:00 committed by Thomas Lavocat
parent 4fe1242c49
commit 155a0cf57c
2 changed files with 7 additions and 2 deletions

7
package-lock.json generated
View file

@ -44,6 +44,8 @@
"@testing-library/react": "14.0.0",
"@testing-library/user-event": "14.4.3",
"@types/jest": "^29.5.3",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.2.1",
"babel-jest": "29.6.2",
@ -4910,8 +4912,9 @@
"license": "MIT"
},
"node_modules/@types/react": {
"version": "17.0.60",
"license": "MIT",
"version": "18.2.21",
"resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.21.tgz",
"integrity": "sha512-neFKG/sBAwGxHgXiIxnbm3/AAVQ/cMRS93hvBpg8xYRbeQSPVABp9U2bRnPf0iI4+Ucdv3plSxKK+3CW2ENJxA==",
"dependencies": {
"@types/prop-types": "*",
"@types/scheduler": "*",

View file

@ -69,6 +69,8 @@
"@testing-library/react": "14.0.0",
"@testing-library/user-event": "14.4.3",
"@types/jest": "^29.5.3",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.2.1",
"babel-jest": "29.6.2",