Add tests

This commit is contained in:
Dolan
2018-11-01 02:22:32 +00:00
parent a84eb16392
commit 61411fd0f3
16 changed files with 673 additions and 223 deletions

View File

@ -179,7 +179,7 @@ export class TableCellWidth extends XmlComponent {
}
}
interface ITableCellShadingAttributesProperties {
export interface ITableCellShadingAttributesProperties {
fill?: string;
color?: string;
val?: string;
@ -197,7 +197,7 @@ class TableCellShadingAttributes extends XmlAttributeComponent<ITableCellShading
* Table cell shading element.
*/
export class TableCellShading extends XmlComponent {
constructor(attrs: object) {
constructor(attrs: ITableCellShadingAttributesProperties) {
super("w:shd");
this.root.push(new TableCellShadingAttributes(attrs));
}