Made XmlableObject non ambient typings to fix typescript problem

This commit is contained in:
Dolan
2017-07-08 20:45:19 +01:00
parent 6784dc1f3d
commit 8f632d4ecd
7 changed files with 14 additions and 9 deletions

View File

@ -1,7 +1,8 @@
import { BaseXmlComponent } from "../docx/xml-components";
import { IXmlableObject } from "../docx/xml-components/xmlable-object";
export class Formatter {
public format(input: BaseXmlComponent): XmlableObject {
public format(input: BaseXmlComponent): IXmlableObject {
return input.prepForXml();
}
}