# Type Alias: TRPCLink()<TInferrable>

> 

> **TRPCLink**\<`TInferrable`\>: (`opts`) => `OperationLink`\<`TInferrable`\>

Defined in: [packages/client/src/links/types.ts:124](https://github.com/trpc/trpc/blob/57482b0bb09dce5c838dc8bf5727a943488bac61/packages/client/src/links/types.ts#L124)

A link: a step every call goes through, such as logging or sending it
over HTTP. It's called once when the client is created.

## Type Parameters

| Type Parameter |
| ------ |
| `TInferrable` *extends* `InferrableClientTypes` |

## Parameters

| Parameter | Type |
| ------ | ------ |
| `opts` | [`TRPCClientRuntime`](https://trpc.io/docs/typedoc/client/index/interfaces/TRPCClientRuntime.md) |

## Returns

`OperationLink`\<`TInferrable`\>

## See

https://trpc.io/docs/client/links#creating-a-custom-link
