diff --git a/annotations.js b/annotations.js index 3d92795..dc9a638 100644 --- a/annotations.js +++ b/annotations.js @@ -59,4 +59,7 @@ export class Annotations { getAnchor(value) { return this.#anchorsByValue.get(value) } + export() { + return Array.from(this.#annotationsByIndex.values()).flat() + } }