linting
This commit is contained in:
@ -16,11 +16,11 @@ export abstract class XmlComponent extends BaseXmlComponent {
|
|||||||
if (comp instanceof BaseXmlComponent) {
|
if (comp instanceof BaseXmlComponent) {
|
||||||
return comp.toXml();
|
return comp.toXml();
|
||||||
}
|
}
|
||||||
return comp
|
return comp;
|
||||||
}).filter((comp) => comp); // Exclude null, undefined, and empty strings
|
}).filter((comp) => comp); // Exclude null, undefined, and empty strings
|
||||||
return {
|
return {
|
||||||
[this.rootKey]: ret,
|
[this.rootKey]: ret,
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user