Type Alias: TRPCBuiltRouter<TRoot, TRecord>
On this page
TRPCBuiltRouter<
TRoot,TRecord>:Router<TRoot,TRecord> &TRecord
Defined in: packages/server/src/unstable-core-do-not-import/router.ts:198
A router as t.router() returns it, with its procedures and sub-routers
as properties.
Type Parameters
| Type Parameter |
|---|
TRoot extends AnyTRPCRootTypes |
TRecord extends TRPCRouterRecord |