diff --git a/ts/docx/paragraph/tab-stop.ts b/ts/docx/paragraph/tab-stop.ts index 91b48f6720..1f079d31f6 100644 --- a/ts/docx/paragraph/tab-stop.ts +++ b/ts/docx/paragraph/tab-stop.ts @@ -10,11 +10,11 @@ class TabStop extends XmlComponent { class Tab extends XmlComponent { - constructor(value: string, position: number) { + constructor(value: string, position: any) { super("w:tab"); this.root.push(new Attributes({ val: value, - pos: position.toString(), + pos: position, })); } }