From ef2355fd32258a45ac8d1436cab5e60e7b7ec7dd Mon Sep 17 00:00:00 2001 From: George Zahariev Date: Wed, 13 Jul 2022 17:04:00 -0700 Subject: [PATCH] Update github flowconfigs to enable exact_empty_objects option Summary: The empty object literal `{}` now has the type `{}` - i.e. an exact empty object - rather than being unsealed. Enable the option in the github flowconfigs Changelog: [Internal] Reviewed By: pieterv Differential Revision: D37836634 fbshipit-source-id: 8ef0cfaf1d0420ae71723e04163f00c43c550e07 --- .flowconfig | 1 + .flowconfig.android | 1 + 2 files changed, 2 insertions(+) diff --git a/.flowconfig b/.flowconfig index 7ce598b4059..c2d114b4f67 100644 --- a/.flowconfig +++ b/.flowconfig @@ -32,6 +32,7 @@ flow/ emoji=true exact_by_default=true +exact_empty_objects=true format.bracket_spacing=false diff --git a/.flowconfig.android b/.flowconfig.android index 5d83592bcb1..dc9d12aba7e 100644 --- a/.flowconfig.android +++ b/.flowconfig.android @@ -32,6 +32,7 @@ flow/ emoji=true exact_by_default=true +exact_empty_objects=true format.bracket_spacing=false