Update types to match our React version

This commit is contained in:
Manav Rathi 2024-02-22 12:14:19 +05:30
parent cfa630a620
commit bac4601ccb
3 changed files with 3 additions and 12 deletions

View file

@ -9,7 +9,7 @@
"dependencies": {},
"devDependencies": {
"@types/node": "^14.6.4",
"@types/react": "^16.9.49"
"@types/react": "^18"
},
"types": "src/index.ts"
}

View file

@ -81,7 +81,7 @@
"@types/libsodium-wrappers": "^0.7.8",
"@types/node": "^14.6.4",
"@types/photoswipe": "^4.1.1",
"@types/react": "^16.9.49",
"@types/react": "^18",
"@types/react-collapse": "^5.0.1",
"@types/react-datepicker": "^4.15.0",
"@types/react-select": "^4.0.15",

View file

@ -912,7 +912,7 @@
dependencies:
"@types/react" "*"
"@types/react@*", "@types/react@>=16.14.8", "@types/react@>=16.9.11":
"@types/react@*", "@types/react@>=16.14.8", "@types/react@>=16.9.11", "@types/react@^18":
version "18.2.57"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.57.tgz#147b516d8bdb2900219acbfc6f939bdeecca7691"
integrity sha512-ZvQsktJgSYrQiMirAN60y4O/LRevIV8hUzSOSNB6gfR3/o3wCBFQx3sPwIYtuDMeiVgsSS3UzCV26tEzgnfvQw==
@ -921,15 +921,6 @@
"@types/scheduler" "*"
csstype "^3.0.2"
"@types/react@^16.9.49":
version "16.14.56"
resolved "https://registry.yarnpkg.com/@types/react/-/react-16.14.56.tgz#4cf37850a87edcb9f3526648338eff35d283c9ab"
integrity sha512-MxuHB7dvVm5yOxRr7hJoonLG0JY8YvqZtaQ9Quirp3Oe4FLFjAgxkxsKE6IspdHPpRVZKo2ZoDEravWO81EeYA==
dependencies:
"@types/prop-types" "*"
"@types/scheduler" "*"
csstype "^3.0.2"
"@types/scheduler@*":
version "0.16.8"
resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.8.tgz#ce5ace04cfeabe7ef87c0091e50752e36707deff"