# Type Alias: ~~inferRouterClient<TRouter>~~

> 

> **inferRouterClient**\<`TRouter`\>: [`TRPCClient`](https://trpc.io/docs/typedoc/react-query/index/type-aliases/TRPCClient.md)\<`TRouter`\>

Defined in: packages/client/dist/index.d.mts:163

The type of a client for a router.

## Type Parameters

| Type Parameter |
| ------ |
| `TRouter` *extends* `AnyRouter` |

## Deprecated

Use [TRPCClient](https://trpc.io/docs/typedoc/react-query/index/type-aliases/TRPCClient.md) instead. This will be removed in v12.
