Files
docx-js/ts/docx/document/index.ts
2016-03-31 23:03:16 +01:00

16 lines
368 B
TypeScript

import {XmlComponent, Attributes} from "../xml-components";
import {Body} from "./body";
export class Document {
private document: Array<XmlComponent>;
constructor() {
this.document = new Array<XmlComponent>();
this.document.push(new Attributes({}));
this.document.push(new Body());
}
test() {
return "hello";
}
}