From b44c05e13cb707223ebd2d9c681fea132a683ff6 Mon Sep 17 00:00:00 2001 From: skanehira Date: Wed, 26 Oct 2022 17:32:07 +0900 Subject: [PATCH] fix: missing replace json types IndexAccessType (#551) --- docx-wasm/js/json/table.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docx-wasm/js/json/table.ts b/docx-wasm/js/json/table.ts index aaf3b85..e6bdcdc 100644 --- a/docx-wasm/js/json/table.ts +++ b/docx-wasm/js/json/table.ts @@ -4,7 +4,7 @@ import { HeightRule } from "../table-row"; import { TextDirectionType } from "../table-cell"; import { ShadingJSON } from "./shading"; import { TableLayoutType } from "../table"; -import { DeleteJSON, InsertJSON } from ".."; +import { DeleteJSONData, InsertJSONData } from ".."; export type TableCellChildJSON = ParagraphJSON | TableJSON; @@ -35,8 +35,8 @@ export type TableRowPropertyJSON = { heightRule: HeightRule | null; widthAfter: number | null; widthBefore: number | null; - del?: DeleteJSON["data"]; - ins?: InsertJSON["data"]; + del?: DeleteJSONData; + ins?: InsertJSONData; }; export type TableCellJSON = {