Fix prettier and linting

This commit is contained in:
Dolan Miu
2022-10-16 00:29:16 +01:00
parent 9ab6df99b1
commit 3ccdd2585c
3 changed files with 3 additions and 4 deletions

View File

@ -2,8 +2,7 @@ import { MathAngledBrackets, MathCurlyBrackets, MathRoundBrackets, MathSquareBra
import { MathFraction } from "./fraction"; import { MathFraction } from "./fraction";
import { MathFunction } from "./function"; import { MathFunction } from "./function";
import { MathRun } from "./math-run"; import { MathRun } from "./math-run";
import { MathSum } from "./n-ary"; import { MathSum, MathIntegral } from "./n-ary";
import { MathIntegral } from "./n-ary";
import { MathRadical } from "./radical"; import { MathRadical } from "./radical";
import { MathSubScript, MathSubSuperScript, MathSuperScript } from "./script"; import { MathSubScript, MathSubSuperScript, MathSuperScript } from "./script";

View File

@ -4,5 +4,5 @@ export * from "./math-limit-location";
export * from "./math-n-ary-properties"; export * from "./math-n-ary-properties";
export * from "./math-sub-script"; export * from "./math-sub-script";
export * from "./math-sum"; export * from "./math-sum";
export * from "./math-integral"; export * from "./math-integral";
export * from "./math-super-script"; export * from "./math-super-script";

View File

@ -10,7 +10,7 @@ export class MathNAryProperties extends XmlComponent {
public constructor(accent: string, hasSuperScript: boolean, hasSubScript: boolean) { public constructor(accent: string, hasSuperScript: boolean, hasSubScript: boolean) {
super("m:naryPr"); super("m:naryPr");
if (!!accent){ if (!!accent) {
this.root.push(new MathAccentCharacter(accent)); this.root.push(new MathAccentCharacter(accent));
} }
this.root.push(new MathLimitLocation()); this.root.push(new MathLimitLocation());