Type Alias: LocalLinkOptions<TRouter>
LocalLinkOptions<
TRouter>:object&TransformerOptions<inferClientTypes<TRouter>>
Defined in: packages/client/dist/index.d.mts:182
Type declaration
createContext()
createContext: () =>
Promise<inferRouterContext<TRouter>>
Returns
Promise<inferRouterContext<TRouter>>
onError()?
optionalonError: (opts) =>void
Parameters
| Parameter | Type |
|---|---|
opts | ErrorHandlerOptions<inferRouterContext<TRouter>> |
Returns
void
router
router:
TRouter
Type Parameters
| Type Parameter |
|---|
TRouter extends AnyRouter |