Skip to content

Commit 009a0c7

Browse files
committed
Move typescript back to 2.3.* (stricter 2.5.* caused problems that we will need to resolve first). Resolves issue #81.
1 parent 1065d3e commit 009a0c7

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

mathjax3-ts/output/chtml/Wrappers/mfrac.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export class CHTMLmfrac extends CHTMLWrapper {
145145
const display = attr.displaystyle && attr.scriptlevel === 0;
146146
const nbox = this.childNodes[0].getBBox();
147147
const dbox = this.childNodes[1].getBBox();
148-
const pad = (this.node.getProperty('withDelims') as boolean ? 0 : this.font.params.nulldelimiterspace);
148+
const pad = ((this.node.getProperty('withDelims') as boolean) ? 0 : this.font.params.nulldelimiterspace);
149149
const a = this.font.params.axis_height;
150150
const T = (display ? 3.5 : 1.5) * this.font.params.rule_thickness;
151151
bbox.combine(nbox, 0, a + T + Math.max(nbox.d * nbox.rscale, display ? .217 : .054));

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"jsdom": "10.*"
1515
},
1616
"devDependencies": {
17-
"typescript": "2.5.*",
17+
"typescript": "2.3.*",
1818
"tape": "^4.8.0",
1919
"tslint": "^3.15.0",
2020
"tslint-jsdoc-rules": "*",

0 commit comments

Comments
 (0)