linting
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
import { Attributes, XmlComponent } from "../xml-components";
|
||||
export { Underline } from './underline';
|
||||
export { Underline } from "./underline";
|
||||
|
||||
export class Bold extends XmlComponent {
|
||||
|
||||
|
@ -18,9 +18,9 @@ export abstract class XmlAttributeComponent extends BaseXmlComponent {
|
||||
|
||||
public toXml(): object {
|
||||
const attrs = {};
|
||||
if (this.root != undefined) {
|
||||
if (this.root !== undefined) {
|
||||
_.forOwn(this.root, (value, key) => {
|
||||
if (value != undefined) {
|
||||
if (value !== undefined) {
|
||||
const newKey = this.xmlKeys[key];
|
||||
attrs[newKey] = value;
|
||||
}
|
||||
|
Reference in New Issue
Block a user