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,6 +1,6 @@
import { Paragraph } from "../paragraph";
import { XmlComponent } from "../xml-components";
import { IXmlableObject } from "../xml-components/xmlable-object";
import { TableGrid } from "./grid";
import { TableProperties, WidthTypes } from "./properties";
@ -99,7 +99,7 @@ export class TableCell extends XmlComponent {
return this;
}
public prepForXml(): XmlableObject {
public prepForXml(): IXmlableObject {
// Cells must end with a paragraph
const retval = super.prepForXml();
const content = retval["w:tc"];