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