From a95366e54e7e6912fdb7637a9e1dece2e6fd6e69 Mon Sep 17 00:00:00 2001 From: Dolan Date: Mon, 17 Sep 2018 21:18:27 +0100 Subject: [PATCH] Fix demo 27 --- demo/demo27.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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);