# Type Alias: TRPCLink()<TInferrable>

> 

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

Defined in: packages/client/dist/types-DO-GCB2q.d.mts:218

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/react-query/index/interfaces/TRPCClientRuntime.md) |

## Returns

`OperationLink`\<`TInferrable`\>

## See

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