Enable optional chaining and nullish coalescing in flowconfig template (#20517)

Summary:
Follow up to a9792ac4c8 and #20516

This makes sure new projects typecheck properly since RN can use this syntax.
Pull Request resolved: https://github.com/facebook/react-native/pull/20517

Differential Revision: D9169268

Pulled By: TheSavior

fbshipit-source-id: f2b08598bdc6979931e987c9a275d75f08751754
This commit is contained in:
Janic Duplessis 2018-08-03 16:24:07 -07:00 committed by Facebook Github Bot
parent a286c0e753
commit 44c1012cca
1 changed files with 3 additions and 0 deletions

View File

@ -29,6 +29,9 @@ node_modules/react-native/flow-github/
[options] [options]
emoji=true emoji=true
esproposal.optional_chaining=enable
esproposal.nullish_coalescing=enable
module.system=haste module.system=haste
module.system.haste.use_name_reducers=true module.system.haste.use_name_reducers=true
# get basename # get basename