import { BaseNode } from "./BaseNode"; export type TEnglishTextNode = Pick; export class EnglishTextNode extends BaseNode { _name = 'Row'; tag: string | null = 'LOC_'; text: string | number | null = 'text' constructor(payload: Partial = {}) { super(); this.fill(payload); } toXmlElement() { return { _name: this._name, _attrs: { Tag: this.tag, }, _content: { Text: this.text } } } }