Skip to content

Commit 8e29ec5

Browse files
stipsancngonzalez
andauthored
fix: support react 19 type definitions (#8121)
Co-authored-by: Carolina Gonzalez <[email protected]>
1 parent 498b7e4 commit 8e29ec5

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

packages/@sanity/types/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,19 @@
4949
"watch": "pkg-utils watch"
5050
},
5151
"dependencies": {
52-
"@sanity/client": "^6.24.1",
53-
"@types/react": "^18.3.5"
52+
"@sanity/client": "^6.24.1"
5453
},
5554
"devDependencies": {
5655
"@repo/package.config": "workspace:*",
5756
"@repo/test-config": "workspace:*",
5857
"@sanity/insert-menu": "1.0.16",
58+
"@types/react": "^18.3.5",
5959
"@vitejs/plugin-react": "^4.3.4",
6060
"react": "^18.3.1",
6161
"rimraf": "^5.0.10",
6262
"vitest": "^2.1.8"
63+
},
64+
"peerDependencies": {
65+
"@types/react": "18 || 19"
6366
}
6467
}

pnpm-lock.yaml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)