We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3e575f commit 9d608dbCopy full SHA for 9d608db
templates/react/add-on/start/assets/src/router.tsx.ejs
@@ -6,7 +6,7 @@ import { createIsomorphicFn } from '@tanstack/react-start'
6
import { routerWithQueryClient } from '@tanstack/react-router-with-query'
7
import * as TanstackQuery from './integrations/tanstack-query/root-provider'
8
<% } %>
9
-
+
10
// Import the generated route tree
11
import { routeTree } from './routeTree.gen'
12
@@ -61,6 +61,6 @@ export const createRouter = () => {
61
// Register the router instance for type safety
62
declare module '@tanstack/react-router' {
63
interface Register {
64
- router: typeof router
+ router: ReturnType<typeof createRouter>
65
}
66
0 commit comments