We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4eeee35 commit 0b61e26Copy full SHA for 0b61e26
scripts/rollup/shims/react-native/ReactNativeViewConfigRegistry.js
@@ -20,8 +20,19 @@ import type {
20
const invariant = require('invariant');
21
22
// Event configs
23
-const customBubblingEventTypes = {};
24
-const customDirectEventTypes = {};
+const customBubblingEventTypes: {
+ [eventName: string]: $ReadOnly<{|
25
+ phasedRegistrationNames: $ReadOnly<{|
26
+ captured: string,
27
+ bubbled: string,
28
+ |}>,
29
30
+} = {};
31
+const customDirectEventTypes: {
32
33
+ registrationName: string,
34
35
36
37
exports.customBubblingEventTypes = customBubblingEventTypes;
38
exports.customDirectEventTypes = customDirectEventTypes;
0 commit comments