Skip to content

Commit

Permalink
fix: Error of tsc
Browse files Browse the repository at this point in the history
  • Loading branch information
akabekobeko committed May 1, 2021
1 parent 6a707ef commit 6e3b85a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/math.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export const handlerDisplayMath: Handler = (h, node: Node) => {
*
* This function does the work even if it finds a `<math>` that it does not treat as a VFM. Therefore, call it only if the VFM option is `math: true`.
*/
export const hast = () => (tree: Element) => {
export const hast = () => (tree: Node) => {
if (!MATH_PROCESSED && !select('math', tree)) {
return;
}
Expand Down

0 comments on commit 6e3b85a

Please sign in to comment.