Skip to main content
Version: 10.x

Function: router()

router<TContext, TMeta>(): Router< TContext, TContext, TMeta, {}, {}, {}, DefaultErrorShape, DefaultDataTransformer >

Deprecated

Type parameters

ParameterDefault
TContext extends Record< string, any >{}
TMeta extends Record< string, any >{}

Returns

Router< TContext, TContext, TMeta, {}, {}, {}, DefaultErrorShape, DefaultDataTransformer >

Source

packages/server/src/deprecated/router.ts:931


Generated using TypeDoc and typedoc-plugin-markdown