Modify Pargraph's children to accept CheckBox

This commit is contained in:
Juan D
2023-06-22 14:43:10 -04:00
parent f706d8e62d
commit 79363c2c2c

View File

@ -6,6 +6,7 @@ import { FileChild } from "@file/file-child";
import { TargetModeType } from "../relationships/relationship/relationship";
import { DeletedTextRun, InsertedTextRun } from "../track-revision";
import { CheckBox } from "../checkbox";
import { ColumnBreak, PageBreak } from "./formatting/break";
import { Bookmark, ConcreteHyperlink, ExternalHyperlink, InternalHyperlink } from "./links";
import { Math } from "./math";
@ -33,7 +34,8 @@ export type ParagraphChild =
| Comment
| CommentRangeStart
| CommentRangeEnd
| CommentReference;
| CommentReference
| CheckBox;
export interface IParagraphOptions extends IParagraphPropertiesOptions {
readonly text?: string;