From 6e6a06eba4a7972f89cac31fa2242fbf70edcaa1 Mon Sep 17 00:00:00 2001 From: felipe Date: Wed, 8 Mar 2017 17:16:51 +0100 Subject: [PATCH] fix numbering/num.ts linter warnings --- ts/numbering/num.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ts/numbering/num.ts b/ts/numbering/num.ts index 2889b456ef..5a432732cc 100644 --- a/ts/numbering/num.ts +++ b/ts/numbering/num.ts @@ -1,24 +1,24 @@ -import {XmlComponent, Attributes, XmlAttributeComponent} from "../docx/xml-components"; +import { Attributes, XmlAttributeComponent, XmlComponent } from "../docx/xml-components"; class AbstractNumId extends XmlComponent { constructor(value: number) { super("w:abstractNumId"); this.root.push(new Attributes({ - val: value + val: value, })); } } -interface NumAttributesProperties { +interface INumAttributesProperties { numId: number; } class NumAttributes extends XmlAttributeComponent { - constructor(properties: NumAttributesProperties) { + constructor(properties: INumAttributesProperties) { super({ - numId: "w:numId" + numId: "w:numId", }, properties); } } @@ -28,8 +28,8 @@ export class Num extends XmlComponent { constructor(numId: number, abstractNumId: number) { super("w:num"); this.root.push(new NumAttributes({ - numId: numId + numId: numId, })); this.root.push(new AbstractNumId(abstractNumId)); } -} \ No newline at end of file +}