Skip to main content
Version: 10.x

createTRPCProxyClient()

Signature

ts
createTRPCProxyClient<TRouter>(opts: CreateTRPCClientOptions<TRouter>): CreateTRPCProxyClient<TRouter>;
ts
createTRPCProxyClient<TRouter>(opts: CreateTRPCClientOptions<TRouter>): CreateTRPCProxyClient<TRouter>;

Type parameters

  • TRouter extends Router<AnyRouterDef<AnyRootConfig, any>, TRouter>

Parameters

NameType
optsCreateTRPCClientOptions<TRouter>

Returns

CreateTRPCProxyClient<TRouter>

Defined in: packages/client/dist/createTRPCClientProxy.d.ts:34