# Interface: LinkDecl

> 

Defined in: packages/client/dist/types-BZH1P86I.d.mts:221

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/dist/types-BZH1P86I.d.mts:226

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