Skip to content

Commit 050a7dd

Browse files
rubennortefacebook-github-bot
authored andcommitted
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
1 parent 09a1120 commit 050a7dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

template/_flowconfig

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ emoji=true
3030
esproposal.optional_chaining=enable
3131
esproposal.nullish_coalescing=enable
3232

33+
exact_by_default=true
34+
3335
module.file_ext=.js
3436
module.file_ext=.json
3537
module.file_ext=.ios.js

0 commit comments

Comments
 (0)