mirror of
https://github.com/status-im/react-native.git
synced 2025-01-26 17:30:25 +00:00
Enable optional chaining and nullish coalescing in flowconfig template (#20517)
Summary: Follow up to a9792ac4c8ee04f9832a99e95e1afebbb568d230 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]
|
||||
emoji=true
|
||||
|
||||
esproposal.optional_chaining=enable
|
||||
esproposal.nullish_coalescing=enable
|
||||
|
||||
module.system=haste
|
||||
module.system.haste.use_name_reducers=true
|
||||
# get basename
|
||||
|
Loading…
x
Reference in New Issue
Block a user