Fix tests and use proper types for disregarding XMLComponent

This commit is contained in:
Dolan
2018-09-20 00:41:57 +01:00
parent fc71ebdfef
commit f2b50478bf
14 changed files with 68 additions and 44 deletions

View File

@ -41,7 +41,7 @@ export class FooterWrapper {
return this.footer.createTable(rows, cols);
}
public addChildElement(childElement: XmlComponent | string): void {
public addChildElement(childElement: XmlComponent): void {
this.footer.addChildElement(childElement);
}