You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mathjax-node returns two objects to `Promise.resolve` or `callback`: a `result` object and the original input `options`.
140
140
@@ -167,6 +167,6 @@ The `result` object will contain (at most) the following structure:
167
167
}
168
168
```
169
169
170
-
If the `errors` array is non-empty, the Promise will reject.
170
+
If the `errors` array is non-empty, the Promise will reject, and be passed the `errors` array.
171
171
172
172
The `options` contains the configuration object passed to `typeset`; this can be useful for passing other data along or for identifying which `typeset()` call is associated with this (`callback`) call (in case you use the same `callback` function for more than one `typeset()`).
0 commit comments