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:
parent
a286c0e753
commit
44c1012cca
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue