diff --git a/ts/docx/paragraph/index.ts b/ts/docx/paragraph/index.ts index 4657fcf016..fcac4043fd 100644 --- a/ts/docx/paragraph/index.ts +++ b/ts/docx/paragraph/index.ts @@ -140,7 +140,7 @@ export class Paragraph extends XmlComponent { public spacing(params: ISpacingProperties): Paragraph { this.properties.push(new Spacing(params)); return this; - }; + } public keepNext(): Paragraph { this.properties.push(new KeepNext()); diff --git a/ts/docx/run/run-components/drawing/inline/graphic/index.ts b/ts/docx/run/run-components/drawing/inline/graphic/index.ts index 75dd24f75d..0ee4f17a88 100644 --- a/ts/docx/run/run-components/drawing/inline/graphic/index.ts +++ b/ts/docx/run/run-components/drawing/inline/graphic/index.ts @@ -1,7 +1,6 @@ import { XmlAttributeComponent, XmlComponent } from "../../../../../xml-components"; import { GraphicData } from "./graphic-data"; - interface IGraphicProperties { a: string; } diff --git a/ts/docx/xml-components/index.ts b/ts/docx/xml-components/index.ts index 182861bd9e..bc1577497c 100644 --- a/ts/docx/xml-components/index.ts +++ b/ts/docx/xml-components/index.ts @@ -22,5 +22,5 @@ export abstract class XmlComponent extends BaseXmlComponent { } } -export * from "./attributes" +export * from "./attributes"; export * from "./default-attributes"; diff --git a/ts/numbering/level.ts b/ts/numbering/level.ts index 55f4080385..f70cb8db56 100644 --- a/ts/numbering/level.ts +++ b/ts/numbering/level.ts @@ -204,7 +204,7 @@ class LevelBase extends XmlComponent { public spacing(params: paragraph.ISpacingProperties): Level { this.addParagraphProperty(new paragraph.Spacing(params)); return this; - }; + } public keepNext(): Level { this.addParagraphProperty(new paragraph.KeepNext()); diff --git a/ts/styles/style/index.ts b/ts/styles/style/index.ts index f4775c7e3a..d0cbcec98a 100644 --- a/ts/styles/style/index.ts +++ b/ts/styles/style/index.ts @@ -179,7 +179,7 @@ export class ParagraphStyle extends Style { public spacing(params: paragraph.ISpacingProperties): ParagraphStyle { this.addParagraphProperty(new paragraph.Spacing(params)); return this; - }; + } public keepNext(): ParagraphStyle { this.addParagraphProperty(new paragraph.KeepNext()); diff --git a/ts/tests/docx/run/run-components/drawingTests.ts b/ts/tests/docx/run/run-components/drawingTests.ts index 8679bcb982..46b2904aab 100644 --- a/ts/tests/docx/run/run-components/drawingTests.ts +++ b/ts/tests/docx/run/run-components/drawingTests.ts @@ -20,7 +20,7 @@ describe("Drawing", () => { it("should create a Drawing with correct root key", () => { const newJson = Utility.jsonify(currentBreak); assert.equal(newJson.rootKey, "w:drawing"); - console.log(JSON.stringify(newJson, null, 2)); + // console.log(JSON.stringify(newJson, null, 2)); }); }); }); diff --git a/ts/tests/docx/table/testTable.ts b/ts/tests/docx/table/testTable.ts index 32631a605f..8035422360 100644 --- a/ts/tests/docx/table/testTable.ts +++ b/ts/tests/docx/table/testTable.ts @@ -1,3 +1,4 @@ +/* tslint:disable:no-unused-expression */ import { expect } from "chai"; import { Paragraph } from "../../../docx/paragraph"; import { Table } from "../../../docx/table";