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

@ -21,7 +21,7 @@ doc.Styles.createParagraphStyle("MySpectacularStyle", "My Spectacular Style")
const toc = new TableOfContents("Summary", {
hyperlink: true,
headingStyleRange: "1-5",
stylesWithLevels: [new StyleLevel("MySpectacularStyle", 1)]
stylesWithLevels: [new StyleLevel("MySpectacularStyle", 1)],
});
doc.addTableOfContents(toc);