# 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:42](https://github.com/trpc/trpc/blob/7c907acfd8b31929214792e3b8c2ad7a8ac72563/packages/client/src/createTRPCClient.ts#L42)

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.
