@@ -16,6 +16,8 @@ import { Route as testsPageWithSearchRouteImport } from './routes/(tests)/page-w
1616import { Route as testsNormalPageRouteImport } from './routes/(tests)/normal-page'
1717import { Route as testsLazyWithLoaderPageRouteImport } from './routes/(tests)/lazy-with-loader-page'
1818import { Route as testsLazyPageRouteImport } from './routes/(tests)/lazy-page'
19+ import { Route as testsIssue7040TargetRouteImport } from './routes/(tests)/issue-7040-target'
20+ import { Route as testsIssue7040SourceRouteImport } from './routes/(tests)/issue-7040-source'
1921
2022const testsVirtualPageLazyRouteImport = createFileRoute (
2123 '/(tests)/virtual-page' ,
@@ -59,9 +61,21 @@ const testsLazyPageRoute = testsLazyPageRouteImport
5961 getParentRoute : ( ) => rootRouteImport ,
6062 } as any )
6163 . lazy ( ( ) => import ( './routes/(tests)/lazy-page.lazy' ) . then ( ( d ) => d . Route ) )
64+ const testsIssue7040TargetRoute = testsIssue7040TargetRouteImport . update ( {
65+ id : '/(tests)/issue-7040-target' ,
66+ path : '/issue-7040-target' ,
67+ getParentRoute : ( ) => rootRouteImport ,
68+ } as any )
69+ const testsIssue7040SourceRoute = testsIssue7040SourceRouteImport . update ( {
70+ id : '/(tests)/issue-7040-source' ,
71+ path : '/issue-7040-source' ,
72+ getParentRoute : ( ) => rootRouteImport ,
73+ } as any )
6274
6375export interface FileRoutesByFullPath {
6476 '/' : typeof IndexRoute
77+ '/issue-7040-source' : typeof testsIssue7040SourceRoute
78+ '/issue-7040-target' : typeof testsIssue7040TargetRoute
6579 '/lazy-page' : typeof testsLazyPageRoute
6680 '/lazy-with-loader-page' : typeof testsLazyWithLoaderPageRoute
6781 '/normal-page' : typeof testsNormalPageRoute
@@ -70,6 +84,8 @@ export interface FileRoutesByFullPath {
7084}
7185export interface FileRoutesByTo {
7286 '/' : typeof IndexRoute
87+ '/issue-7040-source' : typeof testsIssue7040SourceRoute
88+ '/issue-7040-target' : typeof testsIssue7040TargetRoute
7389 '/lazy-page' : typeof testsLazyPageRoute
7490 '/lazy-with-loader-page' : typeof testsLazyWithLoaderPageRoute
7591 '/normal-page' : typeof testsNormalPageRoute
@@ -79,6 +95,8 @@ export interface FileRoutesByTo {
7995export interface FileRoutesById {
8096 __root__ : typeof rootRouteImport
8197 '/' : typeof IndexRoute
98+ '/(tests)/issue-7040-source' : typeof testsIssue7040SourceRoute
99+ '/(tests)/issue-7040-target' : typeof testsIssue7040TargetRoute
82100 '/(tests)/lazy-page' : typeof testsLazyPageRoute
83101 '/(tests)/lazy-with-loader-page' : typeof testsLazyWithLoaderPageRoute
84102 '/(tests)/normal-page' : typeof testsNormalPageRoute
@@ -89,6 +107,8 @@ export interface FileRouteTypes {
89107 fileRoutesByFullPath : FileRoutesByFullPath
90108 fullPaths :
91109 | '/'
110+ | '/issue-7040-source'
111+ | '/issue-7040-target'
92112 | '/lazy-page'
93113 | '/lazy-with-loader-page'
94114 | '/normal-page'
@@ -97,6 +117,8 @@ export interface FileRouteTypes {
97117 fileRoutesByTo : FileRoutesByTo
98118 to :
99119 | '/'
120+ | '/issue-7040-source'
121+ | '/issue-7040-target'
100122 | '/lazy-page'
101123 | '/lazy-with-loader-page'
102124 | '/normal-page'
@@ -105,6 +127,8 @@ export interface FileRouteTypes {
105127 id :
106128 | '__root__'
107129 | '/'
130+ | '/(tests)/issue-7040-source'
131+ | '/(tests)/issue-7040-target'
108132 | '/(tests)/lazy-page'
109133 | '/(tests)/lazy-with-loader-page'
110134 | '/(tests)/normal-page'
@@ -114,6 +138,8 @@ export interface FileRouteTypes {
114138}
115139export interface RootRouteChildren {
116140 IndexRoute : typeof IndexRoute
141+ testsIssue7040SourceRoute : typeof testsIssue7040SourceRoute
142+ testsIssue7040TargetRoute : typeof testsIssue7040TargetRoute
117143 testsLazyPageRoute : typeof testsLazyPageRoute
118144 testsLazyWithLoaderPageRoute : typeof testsLazyWithLoaderPageRoute
119145 testsNormalPageRoute : typeof testsNormalPageRoute
@@ -165,11 +191,27 @@ declare module '@tanstack/react-router' {
165191 preLoaderRoute : typeof testsLazyPageRouteImport
166192 parentRoute : typeof rootRouteImport
167193 }
194+ '/(tests)/issue-7040-target' : {
195+ id : '/(tests)/issue-7040-target'
196+ path : '/issue-7040-target'
197+ fullPath : '/issue-7040-target'
198+ preLoaderRoute : typeof testsIssue7040TargetRouteImport
199+ parentRoute : typeof rootRouteImport
200+ }
201+ '/(tests)/issue-7040-source' : {
202+ id : '/(tests)/issue-7040-source'
203+ path : '/issue-7040-source'
204+ fullPath : '/issue-7040-source'
205+ preLoaderRoute : typeof testsIssue7040SourceRouteImport
206+ parentRoute : typeof rootRouteImport
207+ }
168208 }
169209}
170210
171211const rootRouteChildren : RootRouteChildren = {
172212 IndexRoute : IndexRoute ,
213+ testsIssue7040SourceRoute : testsIssue7040SourceRoute ,
214+ testsIssue7040TargetRoute : testsIssue7040TargetRoute ,
173215 testsLazyPageRoute : testsLazyPageRoute ,
174216 testsLazyWithLoaderPageRoute : testsLazyWithLoaderPageRoute ,
175217 testsNormalPageRoute : testsNormalPageRoute ,
0 commit comments