fix numbering/indent.ts linter warnings

This commit is contained in:
felipe
2017-03-08 17:15:46 +01:00
parent 28e11a9b08
commit ae70c2dfde

View File

@ -1,4 +1,4 @@
import {XmlComponent, XmlAttributeComponent} from "../docx/xml-components"; import {XmlAttributeComponent, XmlComponent} from "../docx/xml-components";
interface IndentAttributesProperties { interface IndentAttributesProperties {
left: number; left: number;
@ -10,7 +10,7 @@ class IndentAttributes extends XmlAttributeComponent {
constructor(properties: IndentAttributesProperties) { constructor(properties: IndentAttributesProperties) {
super({ super({
left: "w:left", left: "w:left",
hanging: "w:hanging" hanging: "w:hanging",
}, properties); }, properties);
} }
} }
@ -21,7 +21,7 @@ export class Indent extends XmlComponent {
super("w:ind"); super("w:ind");
this.root.push(new IndentAttributes({ this.root.push(new IndentAttributes({
left: left, left: left,
hanging: hanging hanging: hanging,
})); }));
} }
} }