From 651c9721c3b1b8279a7b69c4310f244b5def8bbc Mon Sep 17 00:00:00 2001 From: Marco Wang Date: Wed, 20 Aug 2025 13:39:43 -0700 Subject: [PATCH] Turn on null strict comparison check for xplat js Summary: Changelog: [Internal] Reviewed By: SamChou19815 Differential Revision: D80648362 --- .../Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js index d1da444187f09..436b74da76747 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/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);