Fix more empty return values
This commit is contained in:
@ -75,7 +75,7 @@ export class PageBorders extends IgnoreIfEmptyXmlComponent {
|
||||
super("w:pgBorders");
|
||||
|
||||
if (!options) {
|
||||
return;
|
||||
return this;
|
||||
}
|
||||
|
||||
if (options.pageBorders) {
|
||||
|
@ -11,7 +11,7 @@ export class SymbolRun extends Run {
|
||||
if (typeof options === "string") {
|
||||
super({});
|
||||
this.root.push(new Symbol(options));
|
||||
return;
|
||||
return this;
|
||||
}
|
||||
|
||||
super(options);
|
||||
|
Reference in New Issue
Block a user