|
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 { Route as rootRouteImport } from './routes/__root' |
12 | | -import { Route as IndexRouteImport } from './routes/index' |
| 11 | +import { Route as rootRouteImport } from "./routes/__root"; |
| 12 | +import { Route as IndexRouteImport } from "./routes/index"; |
13 | 13 |
|
14 | 14 | const IndexRoute = IndexRouteImport.update({ |
15 | | - id: '/', |
16 | | - path: '/', |
| 15 | + id: "/", |
| 16 | + path: "/", |
17 | 17 | getParentRoute: () => rootRouteImport, |
18 | | -} as any) |
| 18 | +} as any); |
19 | 19 |
|
20 | 20 | export interface FileRoutesByFullPath { |
21 | | - '/': typeof IndexRoute |
| 21 | + "/": typeof IndexRoute; |
22 | 22 | } |
23 | 23 | export interface FileRoutesByTo { |
24 | | - '/': typeof IndexRoute |
| 24 | + "/": typeof IndexRoute; |
25 | 25 | } |
26 | 26 | export interface FileRoutesById { |
27 | | - __root__: typeof rootRouteImport |
28 | | - '/': typeof IndexRoute |
| 27 | + __root__: typeof rootRouteImport; |
| 28 | + "/": typeof IndexRoute; |
29 | 29 | } |
30 | 30 | export interface FileRouteTypes { |
31 | | - fileRoutesByFullPath: FileRoutesByFullPath |
32 | | - fullPaths: '/' |
33 | | - fileRoutesByTo: FileRoutesByTo |
34 | | - to: '/' |
35 | | - id: '__root__' | '/' |
36 | | - fileRoutesById: FileRoutesById |
| 31 | + fileRoutesByFullPath: FileRoutesByFullPath; |
| 32 | + fullPaths: "/"; |
| 33 | + fileRoutesByTo: FileRoutesByTo; |
| 34 | + to: "/"; |
| 35 | + id: "__root__" | "/"; |
| 36 | + fileRoutesById: FileRoutesById; |
37 | 37 | } |
38 | 38 | export interface RootRouteChildren { |
39 | | - IndexRoute: typeof IndexRoute |
| 39 | + IndexRoute: typeof IndexRoute; |
40 | 40 | } |
41 | 41 |
|
42 | | -declare module '@tanstack/react-router' { |
| 42 | +declare module "@tanstack/react-router" { |
43 | 43 | interface FileRoutesByPath { |
44 | | - '/': { |
45 | | - id: '/' |
46 | | - path: '/' |
47 | | - fullPath: '/' |
48 | | - preLoaderRoute: typeof IndexRouteImport |
49 | | - parentRoute: typeof rootRouteImport |
50 | | - } |
| 44 | + "/": { |
| 45 | + id: "/"; |
| 46 | + path: "/"; |
| 47 | + fullPath: "/"; |
| 48 | + preLoaderRoute: typeof IndexRouteImport; |
| 49 | + parentRoute: typeof rootRouteImport; |
| 50 | + }; |
51 | 51 | } |
52 | 52 | } |
53 | 53 |
|
54 | 54 | const rootRouteChildren: RootRouteChildren = { |
55 | 55 | IndexRoute: IndexRoute, |
56 | | -} |
| 56 | +}; |
57 | 57 | export const routeTree = rootRouteImport |
58 | 58 | ._addFileChildren(rootRouteChildren) |
59 | | - ._addFileTypes<FileRouteTypes>() |
| 59 | + ._addFileTypes<FileRouteTypes>(); |
0 commit comments