Turn methods into "add()"

This commit is contained in:
Dolan
2019-06-25 23:17:56 +01:00
parent 3ef8f5311d
commit e2574ec23b
55 changed files with 253 additions and 262 deletions

View File

@ -10,9 +10,9 @@ const table = new Table({
columns: 4,
});
doc.addTable(table);
doc.add(table);
table.getCell(2, 2).addParagraph(new Paragraph("Hello"));
table.getCell(2, 2).add(new Paragraph("Hello"));
const packer = new Packer();