From c803a5bfa12a4305daa846c94e8112a7661a8dfc Mon Sep 17 00:00:00 2001 From: Sam Zhou Date: Tue, 27 Jun 2023 22:31:25 -0700 Subject: [PATCH] Enable mapped type (#38106) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/38106 Changelog: [Internal] Reviewed By: gkz Differential Revision: D47081653 fbshipit-source-id: e739ac2c868aed39bc5168607074fc2ee69b49ae --- .flowconfig | 1 + .flowconfig.android | 1 + 2 files changed, 2 insertions(+) diff --git a/.flowconfig b/.flowconfig index 2641eda80c632d..e14487b870f54c 100644 --- a/.flowconfig +++ b/.flowconfig @@ -32,6 +32,7 @@ packages/react-native/flow/ [options] enums=true conditional_type=true +mapped_type=true type_guards=true emoji=true diff --git a/.flowconfig.android b/.flowconfig.android index 5383fbc6b06449..2d1d66ec0f7651 100644 --- a/.flowconfig.android +++ b/.flowconfig.android @@ -32,6 +32,7 @@ packages/react-native/flow/ [options] enums=true conditional_type=true +mapped_type=true type_guards=true emoji=true