[General] [Fixed] Flow errors from YellowBox and BubblingEventHandler

This commit is contained in:
Michał Pierzchała
2020-04-03 22:40:03 +02:00
parent 25011a6d09
commit a049130f34
2 changed files with 2 additions and 1 deletions
@@ -15,6 +15,7 @@ import type {HostComponent} from '../Renderer/shims/ReactNativeTypes';
import type {
WithDefault,
DirectEventHandler,
BubblingEventHandler,
Int32,
} from '../Types/CodegenTypes';
@@ -61,7 +61,7 @@ const YellowBoxInspectorHeader = (props: Props): React.Node => {
const YellowBoxInspectorHeaderButton = (
props: $ReadOnly<{|
disabled: boolean,
image: string,
image: number,
onPress?: ?() => void,
|}>,
): React.Node => (