fix numbering/indent.ts linter warnings
This commit is contained in:
@ -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,
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user