tslinting

This commit is contained in:
Dolan
2017-03-08 21:59:27 +00:00
parent 77824ce1d2
commit 744b16b753
3 changed files with 9 additions and 9 deletions

View File

@ -11,7 +11,7 @@ export class PageMargin extends XmlComponent {
left: "1440", left: "1440",
header: "708", header: "708",
footer: "708", footer: "708",
gutter: "0" gutter: "0",
})); }));
} }
} }

View File

@ -1,8 +1,8 @@
import { Attributes, XmlComponent } from "../../xml-components"; import { Attributes, XmlComponent } from "../../xml-components";
import {PageSize} from "./page-size"; import { Columns } from "./columns";
import {PageMargin} from "./page-margin"; import { DocumentGrid } from "./doc-grid";
import {Columns} from "./columns"; import { PageMargin } from "./page-margin";
import {DocumentGrid} from "./doc-grid"; import { PageSize } from "./page-size";
export class SectionProperties extends XmlComponent { export class SectionProperties extends XmlComponent {
@ -11,11 +11,11 @@ export class SectionProperties extends XmlComponent {
this.root.push(new Attributes({ this.root.push(new Attributes({
rsidR: "00B64E8F", rsidR: "00B64E8F",
rsidRPr: "00D842E4", rsidRPr: "00D842E4",
rsidSect: "000A6AD0" rsidSect: "000A6AD0",
})); }));
this.root.push(new PageSize()); this.root.push(new PageSize());
this.root.push(new PageMargin()); this.root.push(new PageMargin());
this.root.push(new Columns()); this.root.push(new Columns());
this.root.push(new DocumentGrid()); this.root.push(new DocumentGrid());
} }
} }

View File

@ -35,7 +35,7 @@ export class AbstractNumbering extends XmlComponent {
this.root.push(level); this.root.push(level);
} }
public createLevel(num: number, format: string, text: string, align: string="start") { public createLevel(num: number, format: string, text: string, align: string = "start"): Level {
const level = new Level(num, format, text, align); const level = new Level(num, format, text, align);
this.addLevel(level); this.addLevel(level);
return level; return level;