Skip to content

Commit 172e519

Browse files
authoredOct 19, 2023
react: fix to classify @types/react as a peer dependency
Closes GH-2281. Reviewed-by: Titus Wormer <tituswormer@gmail.com>
1 parent a34177c commit 172e519

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed
 

‎package-lock.json

+7-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/react/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@
3939
"index.js"
4040
],
4141
"dependencies": {
42-
"@types/mdx": "^2.0.0",
43-
"@types/react": ">=16"
42+
"@types/mdx": "^2.0.0"
4443
},
4544
"peerDependencies": {
45+
"@types/react": ">=16",
4646
"react": ">=16"
4747
},
4848
"devDependencies": {},

0 commit comments

Comments
 (0)