Skip to content

Commit f41b0fc

Browse files
Changes
1 parent f38db87 commit f41b0fc

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/routeTree.gen.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,3 +376,13 @@ const rootRouteChildren: RootRouteChildren = {
376376
export const routeTree = rootRouteImport
377377
._addFileChildren(rootRouteChildren)
378378
._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

Comments
 (0)