Fix tests

This commit is contained in:
Dolan
2018-03-22 23:04:46 +00:00
parent a0e034bd55
commit a954c69458
3 changed files with 88 additions and 6 deletions

View File

@ -5,7 +5,6 @@ export type WidthTypes = "dxa" | "pct" | "nil" | "auto";
export class TableProperties extends XmlComponent {
constructor() {
super("w:tblPr");
this.root.push(new TableBorders());
}
public setWidth(type: WidthTypes, w: number | string): TableProperties {
@ -17,6 +16,11 @@ export class TableProperties extends XmlComponent {
this.root.push(new TableLayout("fixed"));
return this;
}
public setBorder(): TableProperties {
this.root.push(new TableBorders());
return this;
}
}
interface ITableWidth {