From b828d682d37300a6e3e790ecd7dd0c9cb9251ff7 Mon Sep 17 00:00:00 2001 From: Dolan Miu Date: Thu, 31 Mar 2016 23:03:16 +0100 Subject: [PATCH] added body to document --- ts/docx/document/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ts/docx/document/index.ts b/ts/docx/document/index.ts index 227ff7f245..ad5ab4a955 100644 --- a/ts/docx/document/index.ts +++ b/ts/docx/document/index.ts @@ -1,4 +1,5 @@ import {XmlComponent, Attributes} from "../xml-components"; +import {Body} from "./body"; export class Document { private document: Array; @@ -6,7 +7,7 @@ export class Document { constructor() { this.document = new Array(); this.document.push(new Attributes({})); - this. + this.document.push(new Body()); } test() {