This commit is contained in:
Dolan
2018-09-06 09:18:52 +01:00
parent 7688aa99f6
commit 571f8b526b

View File

@ -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");