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

# ImportCommentsOptions

```ts
type ImportCommentsOptions = ImportOptionsInit;
```

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

How [Document.importAnnotations](/reference/sdk/classes/document.md#importannotations) imports comments: the `mode` for the comments the file
names that are already in the document (`"merge"`, the default, keeps them as they are and adds the
file's other comments, so new replies and statuses join their threads; `"replace"` replaces
each with the file's version, its replies with it; `"add"` adds the file's as copies), and the document's `file` name, checked against the one the file
records when it has no `/ID`.

## Since

0.7.0
