Fix more empty return values

This commit is contained in:
Dolan Miu
2023-01-04 22:45:27 +00:00
parent a481518470
commit 7f88a38219
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ export class PageBorders extends IgnoreIfEmptyXmlComponent {
super("w:pgBorders"); super("w:pgBorders");
if (!options) { if (!options) {
return; return this;
} }
if (options.pageBorders) { if (options.pageBorders) {

View File

@ -11,7 +11,7 @@ export class SymbolRun extends Run {
if (typeof options === "string") { if (typeof options === "string") {
super({}); super({});
this.root.push(new Symbol(options)); this.root.push(new Symbol(options));
return; return this;
} }
super(options); super(options);