From 55bcbbb1a08262e9edc434651461aab6c7ac1202 Mon Sep 17 00:00:00 2001 From: Dolan Miu Date: Fri, 8 Apr 2016 23:01:29 +0100 Subject: [PATCH] correctly implements interface --- ts/style/index.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ts/style/index.ts b/ts/style/index.ts index 33cd86e1c9..8be9352d9b 100644 --- a/ts/style/index.ts +++ b/ts/style/index.ts @@ -1,8 +1,12 @@ import {XmlComponent} from "../docx/xml-components"; import {DocumentAttributes} from "../docx/xml-components/document-attributes" -export class Style { +export class Style implements XmlComponent { private styles: Array; + + xmlKeys = { + styles: 'w:styles' + } constructor() { this.styles = new Array();