From 279a5a93f19a0ba182740855b8bd291fdab5a315 Mon Sep 17 00:00:00 2001 From: Dolan Date: Wed, 8 Mar 2017 21:40:21 +0000 Subject: [PATCH] fixed failing test --- ts/docx/paragraph/tab-stop.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, })); } }