Skip to main content
Version: 10.x

Function: createCallerFactory()

createCallerFactory<TConfig>(): <TRouter>(router) => RouterCaller< TRouter["_def"] >

Type parameters​

Parameter
TConfig extends RootConfig< {ctx: any; errorShape: any; meta: any; transformer: any;}, TConfig >

Returns​

<TRouter>(router): RouterCaller< TRouter["_def"] >

Type parameters​

Parameter
TRouter extends Router< AnyRouterDef< TConfig, any >, TRouter >

Parameters​

ParameterType
routerTRouter

Returns​

RouterCaller< TRouter["_def"] >

Source​

packages/server/src/core/router.ts:300

Source​

packages/server/src/core/router.ts:299


Generated using TypeDoc and typedoc-plugin-markdown