@samitouri / QOS-React / commits / 83c7379b96

Add flow suppression for Constant Condition rollout (#34243)

Jan Kassens committed Aug 20, 2025 at 18:24 UTC 83c7379b9601f25463826449256f0cd3d283702d
1 file changed +2
scripts/rollup/shims/react-native/ReactNativeViewConfigRegistry.js
+2
@@ -81,6 +81,8 @@ export function register(name: string, callback: () => ViewConfig): string {
81 typeof callback === 'function',
82 'View config getter callback for component `%s` must be a function (received `%s`)',
83 name,
84 + /* $FlowFixMe[invalid-compare] Error discovered during Constant Condition
85 + * roll out. See https://fburl.com/workplace/5whu3i34. */
86 callback === null ? 'null' : typeof callback,
87 );
88 viewConfigCallbacks.set(name, callback);