mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-10 13:38:39 +00:00
Update flow version and address type errors. (#1369)
This commit is contained in:
@@ -10,11 +10,15 @@ import utils from "./utils";
|
||||
import {Token} from "./Token";
|
||||
import ParseError from "./ParseError";
|
||||
|
||||
import type {Mode} from "./types";
|
||||
|
||||
/**
|
||||
* Provides context to macros defined by functions. Implemented by
|
||||
* MacroExpander.
|
||||
*/
|
||||
export interface MacroContextInterface {
|
||||
mode: Mode;
|
||||
|
||||
/**
|
||||
* Object mapping macros to their expansions.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user