Add flow suppression for Constant Condition rollout (#34243)

This commit is contained in:
Jan Kassens
2025-08-20 18:24:01 -04:00
committed by GitHub
parent c2ac8b4f0e
commit 83c7379b96

View File

@@ -81,6 +81,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);