From 050a7dd019be435b848de0a86030599d83f8791d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Norte?= Date: Wed, 22 Jul 2020 09:43:45 -0700 Subject: [PATCH] Enable exact objects by default in the project template Summary: This template for new projects isn't configured with exact objects by default, which could cause issues with code in react-native assuming this option is enabled. Changelog: [Changed] Enabled exact_by_default in Flow for new projects using the template Reviewed By: cpojer Differential Revision: D22571745 fbshipit-source-id: da5affe903114484384764be2142e1c46244bfac --- template/_flowconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/template/_flowconfig b/template/_flowconfig index 373e65560104a9..7799889c7e37e6 100644 --- a/template/_flowconfig +++ b/template/_flowconfig @@ -30,6 +30,8 @@ emoji=true esproposal.optional_chaining=enable esproposal.nullish_coalescing=enable +exact_by_default=true + module.file_ext=.js module.file_ext=.json module.file_ext=.ios.js