Open History to see the last commit
1// Type declarations for virtual modules used in RSC entry
2// These modules are provided by the active bundler adapter at runtime
3β
4declare module '#tanstack-start-server-fn-resolver' {
5 export type ServerFnLookupAccess = { origin: 'client' } | { origin: 'server' }
6β
7 export type ServerFn = (...args: Array<any>) => Promise<any>
8 export function getServerFnById(
9 id: string,
10 access: ServerFnLookupAccess,
11 ): Promise<ServerFn>
12}