lots of tslinting
This commit is contained in:
@ -5,7 +5,7 @@ export class Columns extends XmlComponent {
|
||||
constructor() {
|
||||
super("w:cols");
|
||||
this.root.push(new Attributes({
|
||||
space: "708"
|
||||
space: "708",
|
||||
}));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ export class DocumentGrid extends XmlComponent {
|
||||
constructor() {
|
||||
super("w:docGrid");
|
||||
this.root.push(new Attributes({
|
||||
linePitch: "360"
|
||||
linePitch: "360",
|
||||
}));
|
||||
}
|
||||
}
|
@ -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);
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ export class PageSize extends XmlComponent {
|
||||
super("w:pgSz");
|
||||
this.root.push(new Attributes({
|
||||
w: "11906",
|
||||
h: "16838"
|
||||
h: "16838",
|
||||
}));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user