Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

tanstack-start.d.ts

20 lines626 Bytes

1declare module 'tanstack-start-manifest:v' {
2 import type { Manifest } from '@tanstack/router-core'
3​
4 export const tsrStartManifest: () => Manifest & { clientEntry: string }
5}
6​
7declare module 'tanstack-start-route-tree:v' {
8 import type { AnyRoute } from '@tanstack/router-core'
9​
10 export const routeTree: AnyRoute | undefined
12​
13declare module '#tanstack-start-server-fn-manifest' {
14 type ServerFn = (...args: Array<any>) => Promise<any>
15 export function getServerFnById(id: string): Promise<ServerFn>
17​
18declare module 'tanstack-start-injected-head-scripts:v' {
19 export const injectedHeadScripts: string | undefined