Function: withTRPC()
withTRPC<
TRouter
,TSSRContext
>(opts
): (AppOrPage
) =>NextComponentType
Type parameters
Parameter | Default |
---|---|
TRouter extends Router < AnyRouterDef < AnyRootConfig , any >, TRouter > | - |
TSSRContext extends NextPageContext | NextPageContext |
Parameters
Parameter | Type |
---|---|
opts | WithTRPCNoSSROptions < TRouter > | WithTRPCSSROptions < TRouter > |
Returns
(
AppOrPage
):NextComponentType
Parameters
Parameter Type AppOrPage
NextComponentType
<any
,any
,any
>Returns
NextComponentType
Source
Source
Generated using TypeDoc and typedoc-plugin-markdown