Skip to content

Commit 28c1fdc

Browse files
authored
add typescript as optional peer dependency (#1843)
1 parent ac79767 commit 28c1fdc

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

package-lock.json

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

package.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,18 @@
6969
},
7070
"peerDependencies": {
7171
"i18next": ">= 23.2.3",
72-
"react": ">= 16.8.0"
72+
"react": ">= 16.8.0",
73+
"typescript": "^5"
7374
},
7475
"peerDependenciesMeta": {
7576
"react-dom": {
7677
"optional": true
7778
},
7879
"react-native": {
7980
"optional": true
81+
},
82+
"typescript": {
83+
"optional": true
8084
}
8185
},
8286
"devDependencies": {

0 commit comments

Comments
 (0)