---
title: "AttachTarget"
version: "0.9.0"
url: "https://docs.laminapdf.com/reference/sdk/type-aliases/attachtarget/"
---

# AttachTarget

```ts
type AttachTarget = NonNullable<AttachFileJs["attachTo"]>;
```

Defined in: [packages/sdk/src/types.ts:926](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/types.ts#L926)

What an attached file is associated with, besides the document's list, which every attached
file is in: `"embeddedFiles"` (the list only), `"document"`, `{ page: id }` or
`{ annotation: id }`.

## Since

0.6.0
