Files
docx-js/src/file/paragraph/math/n-ary/math-base.ts

15 lines
376 B
TypeScript

// http://www.datypic.com/sc/ooxml/e-m_e-1.html
import { XmlComponent } from "@file/xml-components";
import { MathComponent } from "../math-component";
export class MathBase extends XmlComponent {
public constructor(children: readonly MathComponent[]) {
super("m:e");
for (const child of children) {
this.root.push(child);
}
}
}