Skip to content
tRPC

Partners

Interface: TRPCRouterBuilder()<TRoot>

On this page

Defined in: packages/server/src/unstable-core-do-not-import/router.ts:207

The type of t.router().

See

https://trpc.io/docs/server/routers

Type Parameters

Type Parameter
TRoot extends AnyTRPCRootTypes

TRPCRouterBuilder<TIn>(_): TRPCBuiltRouter<TRoot, DecorateCreateRouterOptions<TIn>>

Defined in: packages/server/src/unstable-core-do-not-import/router.ts:208

The type of t.router().

Type Parameters

Type Parameter
TIn extends CreateRouterOptions

Parameters

ParameterType
_TIn

Returns

TRPCBuiltRouter<TRoot, DecorateCreateRouterOptions<TIn>>

See

https://trpc.io/docs/server/routers