Skip to contentOpen History to see the last commit
createServerRpc.ts
11 lines265 Bytes
1import { TSS_SERVER_FUNCTION } from '@tanstack/start-client-core' 3export const createServerRpc = ( 5 splitImportFn: (...args: any) => any, 7 return Object.assign(splitImportFn, { 9 [TSS_SERVER_FUNCTION]: true,