diff --git a/.flowconfig b/.flowconfig index 5cf093c2fe20cd..a4908ec5f68f7d 100644 --- a/.flowconfig +++ b/.flowconfig @@ -52,7 +52,7 @@ suppress_type=$FlowFixMeProps suppress_type=$FlowFixMeState suppress_type=$FlowFixMeEmpty -experimental.env_mode=resolved +inference_mode=constrain_writes [lints] sketchy-null-number=warn diff --git a/.flowconfig.android b/.flowconfig.android index 872bdc2c4f9002..bd91e6c6d78b99 100644 --- a/.flowconfig.android +++ b/.flowconfig.android @@ -52,7 +52,7 @@ suppress_type=$FlowFixMeProps suppress_type=$FlowFixMeState suppress_type=$FlowFixMeEmpty -experimental.env_mode=resolved +inference_mode=constrain_writes [lints] sketchy-null-number=warn