Skip to content

Commit badaecf

Browse files
committed
Fixes missing types.
1 parent 895acc3 commit badaecf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mathjax3-ts/input/tex/Translate.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import TexParser from './TexParser.js';
2828
import {ParserUtil} from './ParserUtil.js';
2929
import TexError from './TexError.js';
3030
import {MmlNode} from '../../core/MmlTree/MmlNode.js';
31-
import {MmlMo} from '../../core/MmlTree/MmlNodes/mo.js';
31+
import {MmlMo, OperatorDef} from '../../core/MmlTree/MmlNodes/mo.js';
3232

3333
// A wrapper for translating scripts with LaTeX content.
3434

@@ -94,7 +94,7 @@ export namespace NewTex {
9494
}
9595
for (let mo of parser.secondPass) {
9696
let forms = mo.getForms();
97-
let symbol;
97+
let symbol: OperatorDef;
9898
for (let form of forms) {
9999
symbol = MmlMo.OPTABLE[form][mo.getText()];
100100
if (symbol) {

0 commit comments

Comments
 (0)