From 7a0af55674c435406c7400791df5602fdc35ca78 Mon Sep 17 00:00:00 2001 From: Janic Duplessis Date: Fri, 3 Aug 2018 16:35:25 -0700 Subject: [PATCH] Enable nullish coalescing in flow config (#20516) Summary: Follow up to a9792ac4c8ee04f9832a99e95e1afebbb568d230. I assume it's enabled for fb flow config so we can avoid future breakages if someone decide to use this syntax. Pull Request resolved: https://github.com/facebook/react-native/pull/20516 Differential Revision: D9169244 Pulled By: TheSavior fbshipit-source-id: 3736d2aed65a0cb4392c175f7d652594cf6a1518 --- .flowconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/.flowconfig b/.flowconfig index 9c7134c36..78e4e1976 100644 --- a/.flowconfig +++ b/.flowconfig @@ -41,6 +41,7 @@ flow-github/ emoji=true esproposal.optional_chaining=enable +esproposal.nullish_coalescing=enable module.system=haste module.system.haste.use_name_reducers=true