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
extendsRouter
<AnyRouterDef
<TConfig
,any
>,TRouter
>Parameters
Parameter Type router
TRouter
Returns
RouterCaller
<TRouter
["_def"
] >Source
Source
packages/server/src/core/router.ts:299
Generated using TypeDoc and typedoc-plugin-markdown