mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-09 13:08:40 +00:00
Port symbol.js to @flow. (#858)
* Port symbol.js to @flow. * Add a `Mode` @flow type and use it in `ParseNode`.
This commit is contained in:
9
src/types.js
Normal file
9
src/types.js
Normal file
@@ -0,0 +1,9 @@
|
||||
// @flow
|
||||
|
||||
/**
|
||||
* This file consists only of basic flow types used in multiple places.
|
||||
* For types with javascript, create separate files by themselves.
|
||||
*/
|
||||
|
||||
export type Mode = "math" | "text";
|
||||
|
Reference in New Issue
Block a user