Class: TRPCUntypedClient<TRouter>
Type parameters
| Parameter | 
|---|
| TRouterextendsAnyRouter | 
Constructors
constructor()
new TRPCUntypedClient<
TRouter>(opts):TRPCUntypedClient<TRouter>
Type parameters
| Parameter | 
|---|
| TRouterextendsRouter<AnyRouterDef<AnyRootConfig,any>,TRouter> | 
Parameters
| Parameter | Type | 
|---|---|
| opts | CreateTRPCClientOptions<TRouter> | 
Returns
TRPCUntypedClient< TRouter >
Source
packages/client/dist/internals/TRPCUntypedClient.d.ts:54
Properties
runtime
readonlyruntime:TRPCClientRuntime
Source
packages/client/dist/internals/TRPCUntypedClient.d.ts:52
Methods
mutation()
mutation(
path,input?,opts?):Promise<unknown>
Parameters
| Parameter | Type | 
|---|---|
| path | string | 
| input? | unknown | 
| opts? | TRPCRequestOptions | 
Returns
Promise< unknown >
Source
packages/client/dist/internals/TRPCUntypedClient.d.ts:58
query()
query(
path,input?,opts?):Promise<unknown>
Parameters
| Parameter | Type | 
|---|---|
| path | string | 
| input? | unknown | 
| opts? | TRPCRequestOptions | 
Returns
Promise< unknown >
Source
packages/client/dist/internals/TRPCUntypedClient.d.ts:57
subscription()
subscription(
path,input,opts):Unsubscribable
Parameters
| Parameter | Type | 
|---|---|
| path | string | 
| input | unknown | 
| opts | Partial<TRPCSubscriptionObserver<unknown,TRPCClientError<AnyRouter> > > &TRPCRequestOptions | 
Returns
Unsubscribable
Source
packages/client/dist/internals/TRPCUntypedClient.d.ts:59
Generated using TypeDoc and typedoc-plugin-markdown