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

@ -31,7 +31,7 @@ const table = new Table({
doc.add(table);
table.getCell(0, 0).addParagraph(new Paragraph("Hello"));
table.getCell(0, 0).add(new Paragraph("Hello"));
table.getRow(0).mergeCells(0, 1);
const packer = new Packer();