Skip to main content
Version: 10.x

Function: createTRPCNext()

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

Type parameters

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

Parameters

ParameterType
optsWithTRPCNoSSROptions< TRouter > | WithTRPCSSROptions< TRouter >

Returns

CreateTRPCNext< TRouter, TSSRContext, TFlags >

Source

next/src/createTRPCNext.tsx:41


Generated using TypeDoc and typedoc-plugin-markdown