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

> 

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

Defined in: [packages/client/src/createTRPCClient.ts:37](https://github.com/trpc/trpc/blob/a357903312114c6c08952de2c9edc51c713367be/packages/client/src/createTRPCClient.ts#L37)

The type of a client for a router.

## Type Parameters

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

## Deprecated

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