From 571f8b526ba1c82fc37fe0982b7fd7dbc194cd32 Mon Sep 17 00:00:00 2001 From: Dolan Date: Thu, 6 Sep 2018 09:18:52 +0100 Subject: [PATCH] Fix demo --- demo/demo27.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/demo/demo27.ts b/demo/demo27.ts index 01d0b5a559..062b4a4285 100644 --- a/demo/demo27.ts +++ b/demo/demo27.ts @@ -10,9 +10,10 @@ fs.readFile(filePath, (err, data) => { } importDocx.extract(data).then((templateDocument) => { + // This any needs fixing const options = { templateDocument, - }; + } as any; const doc = new Document(options); const paragraph = new Paragraph("Hello World");