|
8 | 8 | // You should NOT make any changes in this file as it will be overwritten. |
9 | 9 | // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. |
10 | 10 |
|
11 | | -import type { CreateFileRoute, FileRoutesByPath } from '@tanstack/react-router' |
12 | | - |
13 | 11 | import { Route as rootRouteImport } from './routes/__root' |
14 | 12 | import { Route as WithoutLoaderRouteImport } from './routes/without-loader' |
15 | 13 | import { Route as ViewportTestRouteImport } from './routes/viewport-test' |
@@ -240,106 +238,6 @@ declare module '@tanstack/react-router' { |
240 | 238 | } |
241 | 239 | } |
242 | 240 |
|
243 | | -declare module './routes/index' { |
244 | | - const createFileRoute: CreateFileRoute< |
245 | | - '/', |
246 | | - FileRoutesByPath['/']['parentRoute'], |
247 | | - FileRoutesByPath['/']['id'], |
248 | | - FileRoutesByPath['/']['path'], |
249 | | - FileRoutesByPath['/']['fullPath'] |
250 | | - > |
251 | | -} |
252 | | -declare module './routes/_layout' { |
253 | | - const createFileRoute: CreateFileRoute< |
254 | | - '/_layout', |
255 | | - FileRoutesByPath['/_layout']['parentRoute'], |
256 | | - FileRoutesByPath['/_layout']['id'], |
257 | | - FileRoutesByPath['/_layout']['path'], |
258 | | - FileRoutesByPath['/_layout']['fullPath'] |
259 | | - > |
260 | | -} |
261 | | -declare module './routes/posts' { |
262 | | - const createFileRoute: CreateFileRoute< |
263 | | - '/posts', |
264 | | - FileRoutesByPath['/posts']['parentRoute'], |
265 | | - FileRoutesByPath['/posts']['id'], |
266 | | - FileRoutesByPath['/posts']['path'], |
267 | | - FileRoutesByPath['/posts']['fullPath'] |
268 | | - > |
269 | | -} |
270 | | -declare module './routes/shared-singleton' { |
271 | | - const createFileRoute: CreateFileRoute< |
272 | | - '/shared-singleton', |
273 | | - FileRoutesByPath['/shared-singleton']['parentRoute'], |
274 | | - FileRoutesByPath['/shared-singleton']['id'], |
275 | | - FileRoutesByPath['/shared-singleton']['path'], |
276 | | - FileRoutesByPath['/shared-singleton']['fullPath'] |
277 | | - > |
278 | | -} |
279 | | -declare module './routes/viewport-test' { |
280 | | - const createFileRoute: CreateFileRoute< |
281 | | - '/viewport-test', |
282 | | - FileRoutesByPath['/viewport-test']['parentRoute'], |
283 | | - FileRoutesByPath['/viewport-test']['id'], |
284 | | - FileRoutesByPath['/viewport-test']['path'], |
285 | | - FileRoutesByPath['/viewport-test']['fullPath'] |
286 | | - > |
287 | | -} |
288 | | -declare module './routes/without-loader' { |
289 | | - const createFileRoute: CreateFileRoute< |
290 | | - '/without-loader', |
291 | | - FileRoutesByPath['/without-loader']['parentRoute'], |
292 | | - FileRoutesByPath['/without-loader']['id'], |
293 | | - FileRoutesByPath['/without-loader']['path'], |
294 | | - FileRoutesByPath['/without-loader']['fullPath'] |
295 | | - > |
296 | | -} |
297 | | -declare module './routes/_layout/_layout-2' { |
298 | | - const createFileRoute: CreateFileRoute< |
299 | | - '/_layout/_layout-2', |
300 | | - FileRoutesByPath['/_layout/_layout-2']['parentRoute'], |
301 | | - FileRoutesByPath['/_layout/_layout-2']['id'], |
302 | | - FileRoutesByPath['/_layout/_layout-2']['path'], |
303 | | - FileRoutesByPath['/_layout/_layout-2']['fullPath'] |
304 | | - > |
305 | | -} |
306 | | -declare module './routes/posts.$postId' { |
307 | | - const createFileRoute: CreateFileRoute< |
308 | | - '/posts/$postId', |
309 | | - FileRoutesByPath['/posts/$postId']['parentRoute'], |
310 | | - FileRoutesByPath['/posts/$postId']['id'], |
311 | | - FileRoutesByPath['/posts/$postId']['path'], |
312 | | - FileRoutesByPath['/posts/$postId']['fullPath'] |
313 | | - > |
314 | | -} |
315 | | -declare module './routes/posts.index' { |
316 | | - const createFileRoute: CreateFileRoute< |
317 | | - '/posts/', |
318 | | - FileRoutesByPath['/posts/']['parentRoute'], |
319 | | - FileRoutesByPath['/posts/']['id'], |
320 | | - FileRoutesByPath['/posts/']['path'], |
321 | | - FileRoutesByPath['/posts/']['fullPath'] |
322 | | - > |
323 | | -} |
324 | | -declare module './routes/_layout/_layout-2/layout-a' { |
325 | | - const createFileRoute: CreateFileRoute< |
326 | | - '/_layout/_layout-2/layout-a', |
327 | | - FileRoutesByPath['/_layout/_layout-2/layout-a']['parentRoute'], |
328 | | - FileRoutesByPath['/_layout/_layout-2/layout-a']['id'], |
329 | | - FileRoutesByPath['/_layout/_layout-2/layout-a']['path'], |
330 | | - FileRoutesByPath['/_layout/_layout-2/layout-a']['fullPath'] |
331 | | - > |
332 | | -} |
333 | | -declare module './routes/_layout/_layout-2/layout-b' { |
334 | | - const createFileRoute: CreateFileRoute< |
335 | | - '/_layout/_layout-2/layout-b', |
336 | | - FileRoutesByPath['/_layout/_layout-2/layout-b']['parentRoute'], |
337 | | - FileRoutesByPath['/_layout/_layout-2/layout-b']['id'], |
338 | | - FileRoutesByPath['/_layout/_layout-2/layout-b']['path'], |
339 | | - FileRoutesByPath['/_layout/_layout-2/layout-b']['fullPath'] |
340 | | - > |
341 | | -} |
342 | | - |
343 | 241 | interface LayoutLayout2RouteChildren { |
344 | 242 | LayoutLayout2LayoutARoute: typeof LayoutLayout2LayoutARoute |
345 | 243 | LayoutLayout2LayoutBRoute: typeof LayoutLayout2LayoutBRoute |
|
0 commit comments