diff --git a/docx-wasm/js/json/comment.ts b/docx-wasm/js/json/comment.ts index 2dcb47d..fb9cb21 100644 --- a/docx-wasm/js/json/comment.ts +++ b/docx-wasm/js/json/comment.ts @@ -9,10 +9,16 @@ export type CommentJSON = { }; export type CommentRangeStartJSON = { - id: number; - comment: CommentJSON; + type: "commentRangeStart"; + data: { + id: number; + comment: CommentJSON; + }; }; export type CommentRangeEndJSON = { - id: number; + type: "commentRangeEnd"; + data: { + id: number; + }; };