Function: createTRPCNext()
createTRPCNext<
TRouter
,TSSRContext
,TFlags
>(opts
):CreateTRPCNext
<TRouter
,TSSRContext
,TFlags
>
Type parameters
Parameter | Default |
---|---|
TRouter extends Router < AnyRouterDef < AnyRootConfig , any >, TRouter > | - |
TSSRContext extends NextPageContext | NextPageContext |
TFlags | null |
Parameters
Parameter | Type |
---|---|
opts | WithTRPCNoSSROptions < TRouter > | WithTRPCSSROptions < TRouter > |
Returns
CreateTRPCNext
< TRouter
, TSSRContext
, TFlags
>
Source
next/src/createTRPCNext.tsx:41
Generated using TypeDoc and typedoc-plugin-markdown