# Interface: LinkDecl

> 

Defined in: [packages/client/src/links/types.ts:141](https://github.com/trpc/trpc/blob/5b8ac2f6322053743311f3f21588f99f3ae15e16/packages/client/src/links/types.ts#L141)

What a link declares about itself, for clients created with
`createTRPCClient({ router: routerType<AppRouter>(), links })`.

## See

https://trpc.io/docs/client/links#typing-call-options

## Properties

### context?

> `optional` **context**: `object`

Defined in: [packages/client/src/links/types.ts:146](https://github.com/trpc/trpc/blob/5b8ac2f6322053743311f3f21588f99f3ae15e16/packages/client/src/links/types.ts#L146)

The fields the link reads from `op.context`. Calls can pass them, typed,
as `.query(input, { context })`. `{}` declares that the link reads none.
