Skip to main content
Version: 11.x

Function: createTRPCNext()

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

Type parameters

ParameterDefault
TRouter extends Router< any, any, TRouter >-
TSSRContext extends NextPageContextNextPageContext

Parameters

ParameterType
optsWithTRPCNoSSROptions< TRouter > | WithTRPCSSROptions< TRouter >

Returns

CreateTRPCNext< TRouter, TSSRContext >

Source

createTRPCNext.tsx:60


Generated using TypeDoc and typedoc-plugin-markdown