@tanstack/react-router 1.120.10 → 1.120.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/react-router",
3
- "version": "1.120.10",
3
+ "version": "1.120.12",
4
4
  "description": "Modern and scalable routing for React applications",
5
5
  "author": "Tanner Linsley",
6
6
  "license": "MIT",
@@ -38,7 +38,13 @@
38
38
  "default": "./dist/cjs/index.cjs"
39
39
  }
40
40
  },
41
- "./package.json": "./package.json"
41
+ "./package.json": "./package.json",
42
+ "./llms": {
43
+ "import": {
44
+ "types": "./dist/llms/index.d.ts",
45
+ "default": "./dist/llms/index.js"
46
+ }
47
+ }
42
48
  },
43
49
  "sideEffects": false,
44
50
  "files": [
@@ -64,6 +70,7 @@
64
70
  "combinate": "^1.1.11",
65
71
  "react": "^19.0.0",
66
72
  "react-dom": "^19.0.0",
73
+ "vibe-rules": "^0.2.55",
67
74
  "zod": "^3.24.2"
68
75
  },
69
76
  "peerDependencies": {
package/src/link.tsx CHANGED
@@ -364,8 +364,8 @@ type UseLinkReactProps<TComp> = TComp extends keyof React.JSX.IntrinsicElements
364
364
  > &
365
365
  React.RefAttributes<
366
366
  TComp extends
367
- | React.FC<{ ref: infer TRef }>
368
- | React.Component<{ ref: infer TRef }>
367
+ | React.FC<{ ref: React.Ref<infer TRef> }>
368
+ | React.Component<{ ref: React.Ref<infer TRef> }>
369
369
  ? TRef
370
370
  : never
371
371
  >