Fix typo in private property

This commit is contained in:
Felipe Ochoa
2018-09-17 12:39:51 -05:00
parent 5b28eb0d00
commit e0d54d3af3

View File

@ -3,13 +3,13 @@ import { WidthType } from "./table-cell";
import { TableCellMargin } from "./table-cell-margin"; import { TableCellMargin } from "./table-cell-margin";
export class TableProperties extends XmlComponent { export class TableProperties extends XmlComponent {
private readonly cellMargain: TableCellMargin; private readonly cellMargin: TableCellMargin;
constructor() { constructor() {
super("w:tblPr"); super("w:tblPr");
this.cellMargain = new TableCellMargin(); this.cellMargin = new TableCellMargin();
this.root.push(this.cellMargain); this.root.push(this.cellMargin);
} }
public setWidth(type: WidthType, w: number | string): TableProperties { public setWidth(type: WidthType, w: number | string): TableProperties {
@ -28,7 +28,7 @@ export class TableProperties extends XmlComponent {
} }
public get CellMargin(): TableCellMargin { public get CellMargin(): TableCellMargin {
return this.cellMargain; return this.cellMargin;
} }
} }