fixing tests

This commit is contained in:
Dolan Miu
2016-05-01 22:24:20 +01:00
parent 3f8d23662e
commit 879ac13863
9 changed files with 35 additions and 30 deletions

View File

@ -2,13 +2,13 @@ import {XmlComponent} from "../docx/xml-components";
import {DocumentAttributes} from "../docx/xml-components/document-attributes";
abstract class Component extends XmlComponent {
protected createNullBlockOrValue(value: string): XmlComponent {
/*if (value === undefined) {
protected createNullBlockOrValue(value: string): any {
if (value === undefined) {
return [{}];
} else {
return value;
}*/
return null;
}
//return null;
}
}
export class Title extends Component {