Skip to content

Commit

Permalink
add export conditions for route module types (#12312)
Browse files Browse the repository at this point in the history
  • Loading branch information
pcattori authored Nov 19, 2024
1 parent f3023cc commit 1217253
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/react-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@
}
},
"./route-module": {
"types": "./dist/production/lib/types/route-module.d.ts"
"import": {
"types": "./dist/production/lib/types/route-module.d.mts"
},
"default": {
"types": "./dist/production/lib/types/route-module.d.ts"
}
},
"./dom": {
"node": {
Expand Down

0 comments on commit 1217253

Please sign in to comment.