Initial ESlint conversion
This commit is contained in:
@ -6,7 +6,7 @@ class MathDegreeHideAttributes extends XmlAttributeComponent<{ readonly hide: nu
|
||||
}
|
||||
|
||||
export class MathDegreeHide extends XmlComponent {
|
||||
constructor() {
|
||||
public constructor() {
|
||||
super("m:degHide");
|
||||
|
||||
this.root.push(new MathDegreeHideAttributes({ hide: 1 }));
|
||||
|
@ -3,7 +3,7 @@ import { XmlComponent } from "@file/xml-components";
|
||||
import { MathComponent } from "../math-component";
|
||||
|
||||
export class MathDegree extends XmlComponent {
|
||||
constructor(children?: MathComponent[]) {
|
||||
public constructor(children?: MathComponent[]) {
|
||||
super("m:deg");
|
||||
|
||||
if (!!children) {
|
||||
|
@ -3,7 +3,7 @@ import { XmlComponent } from "@file/xml-components";
|
||||
import { MathDegreeHide } from "./math-degree-hide";
|
||||
|
||||
export class MathRadicalProperties extends XmlComponent {
|
||||
constructor(hasDegree: boolean) {
|
||||
public constructor(hasDegree: boolean) {
|
||||
super("m:radPr");
|
||||
|
||||
if (!hasDegree) {
|
||||
|
@ -12,7 +12,7 @@ export interface IMathRadicalOptions {
|
||||
}
|
||||
|
||||
export class MathRadical extends XmlComponent {
|
||||
constructor(options: IMathRadicalOptions) {
|
||||
public constructor(options: IMathRadicalOptions) {
|
||||
super("m:rad");
|
||||
|
||||
this.root.push(new MathRadicalProperties(!!options.degree));
|
||||
|
Reference in New Issue
Block a user