@tanstack/start-server-core
Version:
Modern and scalable routing for React applications
26 lines (20 loc) • 717 B
TypeScript
declare module 'tanstack-start-manifest:v' {
import type { Manifest } from '@tanstack/router-core'
export const tsrStartManifest: () => Manifest & { clientEntry: string }
}
declare module 'tanstack-start-route-tree:v' {
import type { AnyRoute } from '@tanstack/router-core'
export const routeTree: AnyRoute | undefined
}
declare module '#tanstack-start-server-fn-resolver' {
export type ServerFn = ((...args: Array<any>) => Promise<any>) & {
method?: 'GET' | 'POST'
}
export function getServerFnById(
id: string,
opts?: { fromClient?: boolean },
): Promise<ServerFn>
}
declare module 'tanstack-start-injected-head-scripts:v' {
export const injectedHeadScripts: string | undefined
}