Clean up API

This commit is contained in:
Dolan
2018-08-07 01:25:28 +01:00
parent ca8f331eec
commit 12c8cb93f6
21 changed files with 95 additions and 49 deletions

View File

@ -10,7 +10,7 @@ export abstract class BaseXmlComponent {
public abstract prepForXml(): IXmlableObject;
public get isDeleted(): boolean {
public get IsDeleted(): boolean {
return this.deleted;
}
}

View File

@ -14,7 +14,7 @@ export abstract class XmlComponent extends BaseXmlComponent {
const children = this.root
.filter((c) => {
if (c instanceof BaseXmlComponent) {
return !c.isDeleted;
return !c.IsDeleted;
}
return true;
})