rembrembdocs

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

Parameter

Type

opts

ErrorHandlerOptions<inferRouterContext<TRouter>>

Returns

void

router

router: TRouter

Type Parameters

Type Parameter

TRouter extends AnyRouter