Skip to main content
Version: 10.x

Function: createTRPCClient()

createTRPCClient<TRouter>(opts): TRPCClient< TRouter >

Deprecated

use createTRPCProxyClient instead

Type parameters

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

Parameters

ParameterType
optsCreateTRPCClientOptions< TRouter >

Returns

TRPCClient< TRouter >

Source

packages/client/dist/createTRPCClient.d.ts:19


Generated using TypeDoc and typedoc-plugin-markdown