Skip to content

Commit ef2355f

Browse files
gkzfacebook-github-bot
authored andcommitted
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
1 parent 51f49ca commit ef2355f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.flowconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ flow/
3232
emoji=true
3333

3434
exact_by_default=true
35+
exact_empty_objects=true
3536

3637
format.bracket_spacing=false
3738

.flowconfig.android

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ flow/
3232
emoji=true
3333

3434
exact_by_default=true
35+
exact_empty_objects=true
3536

3637
format.bracket_spacing=false
3738

0 commit comments

Comments
 (0)