Add children and section tests for File

This commit is contained in:
Dolan Miu
2019-12-27 01:21:19 +00:00
parent 3591e11637
commit 1a9e71bfa1
2 changed files with 100 additions and 2 deletions

View File

@ -41,7 +41,7 @@ export interface ISectionOptions {
readonly size?: IPageSizeAttributes;
readonly margins?: IPageMarginAttributes;
readonly properties?: SectionPropertiesOptions;
readonly children: Array<Paragraph | Table | TableOfContents>;
readonly children: Array<Paragraph | Table | TableOfContents | HyperlinkRef>;
}
export class File {