From c2d96d3a5b731371fa79804b18e567cc5b40ef60 Mon Sep 17 00:00:00 2001 From: Lauren Tan Date: Thu, 21 Aug 2025 09:35:19 -0700 Subject: [PATCH] Add flow suppression for Constant Condition rollout (#34243) Summary: DiffTrain build for [83c7379b9601f25463826449256f0cd3d283702d](https://github.com/facebook/react/commit/83c7379b9601f25463826449256f0cd3d283702d) Reviewed By: marcoww6 Differential Revision: D80661139 fbshipit-source-id: 8ccf2dccba9a07ffd38f50da2c1ded8ebfa78c89 --- .../Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/react-native/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js b/packages/react-native/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js index d1da444187f..436b74da767 100644 --- a/packages/react-native/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js +++ b/packages/react-native/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js @@ -7,7 +7,7 @@ * @noformat * @nolint * @flow strict-local - * @generated SignedSource<<83073425aa3f71ced2c8c51f25a25938>> + * @generated SignedSource<<1f7876c0dc0b05685a730513dc410236>> */ 'use strict'; @@ -82,6 +82,8 @@ export function register(name: string, callback: () => ViewConfig): string { typeof callback === 'function', 'View config getter callback for component `%s` must be a function (received `%s`)', name, + /* $FlowFixMe[invalid-compare] Error discovered during Constant Condition + * roll out. See https://fburl.com/workplace/5whu3i34. */ callback === null ? 'null' : typeof callback, ); viewConfigCallbacks.set(name, callback);