From ce1e825edab945c3d14a95baf52dae4111a88443 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Roma=C5=84czyk?= Date: Fri, 13 Oct 2023 11:33:55 +0200 Subject: [PATCH] refactor: align ReactNativeViewConfigRegistry flow typing (#27514) ## Summary aligned the typing for `ReactNativeViewConfigRegistry` in `react-native-host-hooks.js` continuation of https://github.com/facebook/react/pull/27508 ## How did you test this change? --- scripts/flow/react-native-host-hooks.js | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/flow/react-native-host-hooks.js b/scripts/flow/react-native-host-hooks.js index 7fd2e18f1c516..7f53e5199439e 100644 --- a/scripts/flow/react-native-host-hooks.js +++ b/scripts/flow/react-native-host-hooks.js @@ -134,7 +134,6 @@ declare module 'react-native/Libraries/ReactPrivate/ReactNativePrivateInterface' declare export var ReactNativeViewConfigRegistry: { customBubblingEventTypes: Object, customDirectEventTypes: Object, - eventTypes: Object, register: (name: string, callback: __ViewConfigGetter) => string, get: (name: string) => __ReactNativeBaseComponentViewConfig,