We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f1e0e1 commit a985641Copy full SHA for a985641
1 file changed
src/routeTree.gen.ts
@@ -376,3 +376,13 @@ const rootRouteChildren: RootRouteChildren = {
376
export const routeTree = rootRouteImport
377
._addFileChildren(rootRouteChildren)
378
._addFileTypes<FileRouteTypes>()
379
+
380
+import type { getRouter } from './router.tsx'
381
+import type { startInstance } from './start.ts'
382
+declare module '@tanstack/react-start' {
383
+ interface Register {
384
+ ssr: true
385
+ router: Awaited<ReturnType<typeof getRouter>>
386
+ config: Awaited<ReturnType<typeof startInstance.getOptions>>
387
+ }
388
+}
0 commit comments