Skip to content

Commit 83c7379

Browse files
authored
Add flow suppression for Constant Condition rollout (#34243)
1 parent c2ac8b4 commit 83c7379

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/rollup/shims/react-native/ReactNativeViewConfigRegistry.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ export function register(name: string, callback: () => ViewConfig): string {
8181
typeof callback === 'function',
8282
'View config getter callback for component `%s` must be a function (received `%s`)',
8383
name,
84+
/* $FlowFixMe[invalid-compare] Error discovered during Constant Condition
85+
* roll out. See https://fburl.com/workplace/5whu3i34. */
8486
callback === null ? 'null' : typeof callback,
8587
);
8688
viewConfigCallbacks.set(name, callback);

0 commit comments

Comments
 (0)