From 107abc5c0b41e9a990d4c6b74707252f7a2eb67e Mon Sep 17 00:00:00 2001 From: bokuweb Date: Mon, 5 Oct 2020 17:25:13 +0900 Subject: [PATCH] fix: tsc erropr (#154) * fix: tsc erropr * add tsc * remove tsc --- docx-wasm/js/index.ts | 2 +- docx-wasm/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docx-wasm/js/index.ts b/docx-wasm/js/index.ts index dd482d5..f87f001 100644 --- a/docx-wasm/js/index.ts +++ b/docx-wasm/js/index.ts @@ -333,7 +333,7 @@ export class Docx { if (t.property.cellMargins) { const { top, right, bottom, left } = t.property.cellMargins; - table = table.set_margins(top, right, bottom, left); + table = table.set_cell_margins(top, right, bottom, left); } switch (t.property.align) { diff --git a/docx-wasm/package.json b/docx-wasm/package.json index d9ea0fb..8b43e21 100644 --- a/docx-wasm/package.json +++ b/docx-wasm/package.json @@ -1,6 +1,6 @@ { "name": "docx-wasm", - "version": "0.0.98", + "version": "0.0.100", "main": "dist/node/index.js", "browser": "dist/web/index.js", "author": "bokuweb ",