From 03a763d43d054e3572801aefb77f67742ee694f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=C3=A1ng=20J=C3=B9nli=C3=A0ng?= Date: Fri, 3 Jan 2020 18:06:11 -0500 Subject: [PATCH] fix flow errors --- packages/babel-parser/src/parser/base.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/babel-parser/src/parser/base.js b/packages/babel-parser/src/parser/base.js index f4fb9f3b66e0..fc4f9e33b1d9 100644 --- a/packages/babel-parser/src/parser/base.js +++ b/packages/babel-parser/src/parser/base.js @@ -4,12 +4,14 @@ import type { Options } from "../options"; import type State from "../tokenizer/state"; import type { PluginsMap } from "./index"; import type ScopeHandler from "../util/scope"; +import type ProductionParameterHandler from "../util/production-parameter"; export default class BaseParser { // Properties set by constructor in index.js options: Options; inModule: boolean; scope: ScopeHandler<*>; + param: ProductionParameterHandler; plugins: PluginsMap; filename: ?string; sawUnambiguousESM: boolean = false;