Function: createTRPCNext()
createTRPCNext<
TRouter,TSSRContext>(opts):ProtectedIntersection<CreateTRPCNextBase<TRouter,TSSRContext>,DecorateRouterRecord<TRouter["_def"]["_config"]["$types"],TRouter["_def"]["record"]>>
Defined in: createTRPCNext.tsx:60
Type Parameters
| Type Parameter | Default type |
|---|---|
TRouter extends AnyRouter | - |
TSSRContext extends NextPageContext | NextPageContext |
Parameters
| Parameter | Type |
|---|---|
opts | WithTRPCNoSSROptions<TRouter> | WithTRPCSSROptions<TRouter> |
Returns
ProtectedIntersection<CreateTRPCNextBase<TRouter, TSSRContext>, DecorateRouterRecord<TRouter["_def"]["_config"]["$types"], TRouter["_def"]["record"]>>