From 3b52bbc8c59f2a2d68872522b37374c59b325b5b Mon Sep 17 00:00:00 2001 From: Salakar Date: Mon, 3 Sep 2018 17:31:17 +0100 Subject: [PATCH] [flow] enable `esproposal.optional_chaining` option for flow - used in latest RN --- .flowconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.flowconfig b/.flowconfig index c223e9f0..3b1e73b0 100644 --- a/.flowconfig +++ b/.flowconfig @@ -34,6 +34,7 @@ node_modules/react-native/flow-github/ [options] emoji=true +esproposal.optional_chaining=enable # Taken from: https://github.com/facebook/react-native/issues/19766 module.system=haste @@ -72,4 +73,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError [version] -^0.78.0 +^0.80.0