函数: withTRPC()
withTRPC<
TRouter,TSSRContext>(opts): (AppOrPage) =>NextComponentType
类型参数
| 参数 | 默认值 |
|---|---|
TRouter extends Router< any, any, TRouter> | - |
TSSRContext extends NextPageContext | NextPageContext |
参数
| 参数 | 类型 |
|---|---|
opts | WithTRPCNoSSROptions< TRouter> | WithTRPCSSROptions< TRouter> |
返回值
(
AppOrPage):NextComponentType参数
参数 类型 AppOrPageNextComponentType<any,any,any>返回值
NextComponentType来源
来源
使用 TypeDoc 和 typedoc-plugin-markdown 生成