Skip to content

Commit 5ee9d3d

Browse files
committed
add @types/react to peerDeps
1 parent cd58687 commit 5ee9d3d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

package.json

+6
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,15 @@
6363
"typescript": "^4.1.2"
6464
},
6565
"peerDependencies": {
66+
"@types/react": "^18.0.0",
6667
"react": "^18.0.0",
6768
"react-dom": "^18.0.0"
6869
},
70+
"peerDependenciesMeta": {
71+
"@types/react": {
72+
"optional": true
73+
}
74+
},
6975
"eslintConfig": {
7076
"extends": "./node_modules/kcd-scripts/eslint.js",
7177
"parserOptions": {

0 commit comments

Comments
 (0)