ITableOfContentsProperties to ITableOfContentsOptions

This commit is contained in:
Dolan
2018-09-25 21:09:30 +01:00
parent 3a42f2a2f0
commit c140d2c37c
5 changed files with 16 additions and 11 deletions

View File

@ -5,10 +5,10 @@ import { XmlComponent } from "file/xml-components";
import { SdtContent } from "./sdt-content";
import { SdtProperties } from "./sdt-properties";
import { TableOfContentsInstruction } from "./table-of-contents-instruction";
import { ITableOfContentsProperties } from "./table-of-contents-properties";
import { ITableOfContentsOptions } from "./table-of-contents-properties";
export class TableOfContents extends XmlComponent {
constructor(alias: string = "Table of Contents", properties?: ITableOfContentsProperties) {
constructor(alias: string = "Table of Contents", properties?: ITableOfContentsOptions) {
super("w:sdt");
this.root.push(new SdtProperties(alias));