Port environments.js to @flow. (#862)

* Port environment.js to @flow.

* Updated per comments.
This commit is contained in:
Ashish Myles
2017-09-09 20:31:32 -04:00
committed by Kevin Barabash
parent b4a00824d3
commit 1c344ed6ee
2 changed files with 95 additions and 33 deletions

View File

@@ -16,3 +16,6 @@ export type Mode = "math" | "text";
// first argument is special and the second
// argument is parsed normally)
export type ArgType = "color" | "size" | "original";
// LaTeX display style.
export type StyleStr = "text" | "display";