Skip to content

Commit 038b806

Browse files
committed
Add optional peer dependency on @types/react-dom
1 parent 81203e6 commit 038b806

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
},
4242
"peerDependencies": {
4343
"@types/react": "^16.8 || ^17.0 || ^18.0",
44+
"@types/react-dom": "^16.8 || ^17.0 || ^18.0",
4445
"react": "^16.8 || ^17.0 || ^18.0",
4546
"react-dom": "^16.8 || ^17.0 || ^18.0",
4647
"react-native": ">=0.59",
@@ -50,6 +51,9 @@
5051
"@types/react": {
5152
"optional": true
5253
},
54+
"@types/react-dom": {
55+
"optional": true
56+
},
5357
"react-dom": {
5458
"optional": true
5559
},

yarn.lock

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8932,13 +8932,16 @@ __metadata:
89328932
use-sync-external-store: ^1.0.0
89338933
peerDependencies:
89348934
"@types/react": ^16.8 || ^17.0 || ^18.0
8935+
"@types/react-dom": ^16.8 || ^17.0 || ^18.0
89358936
react: ^16.8 || ^17.0 || ^18.0
89368937
react-dom: ^16.8 || ^17.0 || ^18.0
89378938
react-native: ">=0.59"
89388939
redux: ^4
89398940
peerDependenciesMeta:
89408941
"@types/react":
89418942
optional: true
8943+
"@types/react-dom":
8944+
optional: true
89428945
react-dom:
89438946
optional: true
89448947
react-native:

0 commit comments

Comments
 (0)