We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 895acc3 commit badaecfCopy full SHA for badaecf
mathjax3-ts/input/tex/Translate.ts
@@ -28,7 +28,7 @@ import TexParser from './TexParser.js';
28
import {ParserUtil} from './ParserUtil.js';
29
import TexError from './TexError.js';
30
import {MmlNode} from '../../core/MmlTree/MmlNode.js';
31
-import {MmlMo} from '../../core/MmlTree/MmlNodes/mo.js';
+import {MmlMo, OperatorDef} from '../../core/MmlTree/MmlNodes/mo.js';
32
33
// A wrapper for translating scripts with LaTeX content.
34
@@ -94,7 +94,7 @@ export namespace NewTex {
94
}
95
for (let mo of parser.secondPass) {
96
let forms = mo.getForms();
97
- let symbol;
+ let symbol: OperatorDef;
98
for (let form of forms) {
99
symbol = MmlMo.OPTABLE[form][mo.getText()];
100
if (symbol) {
0 commit comments