A Tanstack Start (Solid flavour) template for my projects
at main 44 lines 1.3 kB view raw
1/* eslint-disable */ 2 3// @ts-nocheck 4 5// noinspection JSUnusedGlobalSymbols 6 7// This file was automatically generated by TanStack Router. 8// You should NOT make any changes in this file as it will be overwritten. 9// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. 10 11import { Route as rootRouteImport } from './routes/__root' 12 13export interface FileRoutesByFullPath {} 14export interface FileRoutesByTo {} 15export interface FileRoutesById { 16 __root__: typeof rootRouteImport 17} 18export interface FileRouteTypes { 19 fileRoutesByFullPath: FileRoutesByFullPath 20 fullPaths: never 21 fileRoutesByTo: FileRoutesByTo 22 to: never 23 id: '__root__' 24 fileRoutesById: FileRoutesById 25} 26export interface RootRouteChildren {} 27 28declare module '@tanstack/solid-router' { 29 interface FileRoutesByPath {} 30} 31 32const rootRouteChildren: RootRouteChildren = {} 33export const routeTree = rootRouteImport 34 ._addFileChildren(rootRouteChildren) 35 ._addFileTypes<FileRouteTypes>() 36 37import type { getRouter } from './router.tsx' 38import type { createStart } from '@tanstack/solid-start' 39declare module '@tanstack/solid-start' { 40 interface Register { 41 ssr: true 42 router: Awaited<ReturnType<typeof getRouter>> 43 } 44}