Skip to content

Commit 1217253

Browse files
authored
add export conditions for route module types (#12312)
1 parent f3023cc commit 1217253

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/react-router/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,12 @@
4444
}
4545
},
4646
"./route-module": {
47-
"types": "./dist/production/lib/types/route-module.d.ts"
47+
"import": {
48+
"types": "./dist/production/lib/types/route-module.d.mts"
49+
},
50+
"default": {
51+
"types": "./dist/production/lib/types/route-module.d.ts"
52+
}
4853
},
4954
"./dom": {
5055
"node": {

0 commit comments

Comments
 (0)