fixed more linting issues

This commit is contained in:
Dolan
2017-04-15 20:11:54 +01:00
parent 410152441b
commit 17b28cb724
6 changed files with 8 additions and 5 deletions

View File

@ -9,7 +9,7 @@ export abstract class XmlComponent extends BaseXmlComponent {
this.root = new Array<BaseXmlComponent>();
}
public prepForXml(): object {
public prepForXml(): XmlableObject {
const children = this.root.map((comp) => {
if (comp instanceof BaseXmlComponent) {
return comp.prepForXml();