# Function: ~~experimental_localLink()~~

> 

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

Defined in: [packages/client/src/links/localLink.ts:348](https://github.com/trpc/trpc/blob/57482b0bb09dce5c838dc8bf5727a943488bac61/packages/client/src/links/localLink.ts#L348)

## Type Parameters

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

## Parameters

| Parameter | Type |
| ------ | ------ |
| `opts` | [`LocalLinkOptions`](https://trpc.io/docs/typedoc/client/index/type-aliases/LocalLinkOptions.md)\<`TRouter`\> |

## Returns

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

## Deprecated

Use [localLink](https://trpc.io/docs/typedoc/client/index/functions/localLink.md) instead. This alias will be removed in a
future major release.

## See

https://trpc.io/docs/client/links/localLink
