lots of tslinting

This commit is contained in:
Dolan
2017-03-08 21:36:09 +00:00
parent 72683ea990
commit 0e89606ec9
13 changed files with 52 additions and 52 deletions

View File

@ -5,7 +5,7 @@ export class Columns extends XmlComponent {
constructor() {
super("w:cols");
this.root.push(new Attributes({
space: "708"
space: "708",
}));
}
}
}

View File

@ -5,7 +5,7 @@ export class DocumentGrid extends XmlComponent {
constructor() {
super("w:docGrid");
this.root.push(new Attributes({
linePitch: "360"
linePitch: "360",
}));
}
}

View File

@ -1,5 +1,5 @@
import { Attributes, XmlComponent } from "../../xml-components";
import {SectionProperties} from "./section-properties";
import { SectionProperties } from "./section-properties";
export class Body extends XmlComponent {
@ -8,7 +8,7 @@ export class Body extends XmlComponent {
// this.root.push(new SectionProperties()); not actually needed
}
push(component: XmlComponent) {
public push(component: XmlComponent): void {
// this.root.splice(this.body.length - 1, 0, component);
this.root.push(component);
}

View File

@ -6,7 +6,7 @@ export class PageSize extends XmlComponent {
super("w:pgSz");
this.root.push(new Attributes({
w: "11906",
h: "16838"
h: "16838",
}));
}
}
}