Aller au contenu principal
Version : 11.x

Type Alias: LocalLinkOptions<TRouter>

LocalLinkOptions<TRouter>: object & TransformerOptions<inferClientTypes<TRouter>>

Defined in: packages/client/src/links/localLink.ts:29

Type declaration​

createContext()​

createContext: () => Promise<inferRouterContext<TRouter>>

Returns​

Promise<inferRouterContext<TRouter>>

onError()?​

optional onError: (opts) => void

Parameters​

ParameterType
optsErrorHandlerOptions<inferRouterContext<TRouter>>

Returns​

void

router​

router: TRouter

Type Parameters​

Type Parameter
TRouter extends AnyRouter