Skip to main content
Version: 11.x

Function: createTRPCNext()

createTRPCNext<TRouter, TSSRContext, TFlags>(opts): CreateTRPCNext< TRouter, TSSRContext, TFlags >

Type parameters

ParameterDefault
TRouter extends Router< AnyRouterDef< AnyRootConfig >, TRouter >-
TSSRContext extends NextPageContextNextPageContext
TFlagsnull

Parameters

ParameterType
optsWithTRPCNoSSROptions< TRouter > | WithTRPCSSROptions< TRouter >

Returns

CreateTRPCNext< TRouter, TSSRContext, TFlags >

Source

next/src/createTRPCNext.tsx:59


Generated using TypeDoc and typedoc-plugin-markdown