Function: createTRPCNext()
createTRPCNext<
TRouter
,TSSRContext
,TFlags
>(opts
):CreateTRPCNext
<TRouter
,TSSRContext
,TFlags
>
Type parameters
Parameter | Default |
---|---|
TRouter extends Router < AnyRouterDef < AnyRootConfig >, 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:59
Generated using TypeDoc and typedoc-plugin-markdown