fix: declare @types/react as peerDep to avoid phantom dep (#1963)

This commit is contained in:
leviosa-e 2023-08-01 09:15:28 +08:00 committed by GitHub
parent c6900a4562
commit a2ad770903
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -191,12 +191,16 @@
},
"peerDependencies": {
"immer": ">=9.0",
"@types/react": ">=16.8",
"react": ">=16.8"
},
"peerDependenciesMeta": {
"immer": {
"optional": true
},
"@types/react": {
"optional": true
},
"react": {
"optional": true
}