diff --git a/demo/demo27.ts b/demo/demo27.ts index 062b4a4285..e2c8f65612 100644 --- a/demo/demo27.ts +++ b/demo/demo27.ts @@ -15,7 +15,11 @@ fs.readFile(filePath, (err, data) => { templateDocument, } as any; - const doc = new Document(options); + const sectionProps = { + titlePage: true, + } as any; + + const doc = new Document(options, sectionProps); const paragraph = new Paragraph("Hello World"); doc.addParagraph(paragraph);