# Function: ~~unstable_localLink()~~

> 

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

Defined in: [packages/client/src/links/localLink.ts:342](https://github.com/trpc/trpc/blob/596d03d93295f8b4876909cfce86f94a1e6afe51/packages/client/src/links/localLink.ts#L342)

## 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.

## Function

## See

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