Function: createTRPCNext()
createTRPCNext<
TRouter
,TSSRContext
>(opts
):CreateTRPCNext
<TRouter
,TSSRContext
>
Type Parameters
Type Parameter | Default type |
---|---|
TRouter extends AnyRouter | - |
TSSRContext extends NextPageContext | NextPageContext |
Parameters
Parameter | Type |
---|---|
opts | WithTRPCNoSSROptions <TRouter > | WithTRPCSSROptions <TRouter > |
Returns
CreateTRPCNext
<TRouter
, TSSRContext
>