Skip to content

Commit

Permalink
Add optional peer dependency on @types/react-dom (#1904)
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 committed Apr 16, 2022
1 parent 81203e6 commit ee81e96
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Expand Up @@ -41,6 +41,7 @@
},
"peerDependencies": {
"@types/react": "^16.8 || ^17.0 || ^18.0",
"@types/react-dom": "^16.8 || ^17.0 || ^18.0",
"react": "^16.8 || ^17.0 || ^18.0",
"react-dom": "^16.8 || ^17.0 || ^18.0",
"react-native": ">=0.59",
Expand All @@ -50,6 +51,9 @@
"@types/react": {
"optional": true
},
"@types/react-dom": {
"optional": true
},
"react-dom": {
"optional": true
},
Expand Down
3 changes: 3 additions & 0 deletions yarn.lock
Expand Up @@ -8932,13 +8932,16 @@ __metadata:
use-sync-external-store: ^1.0.0
peerDependencies:
"@types/react": ^16.8 || ^17.0 || ^18.0
"@types/react-dom": ^16.8 || ^17.0 || ^18.0
react: ^16.8 || ^17.0 || ^18.0
react-dom: ^16.8 || ^17.0 || ^18.0
react-native: ">=0.59"
redux: ^4
peerDependenciesMeta:
"@types/react":
optional: true
"@types/react-dom":
optional: true
react-dom:
optional: true
react-native:
Expand Down

0 comments on commit ee81e96

Please sign in to comment.