Update flow version and address type errors. (#1369)

This commit is contained in:
Ashish Myles
2018-05-27 16:19:10 -04:00
committed by GitHub
parent 9cde0336d3
commit e3fb2f95ae
4 changed files with 13 additions and 1 deletions

View File

@@ -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.
*/