Fix demo 27
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user