mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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
This commit is contained in:
committed by
Facebook GitHub Bot
parent
c557311ed8
commit
c2d96d3a5b
+3
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user