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 ee85098 commit 0652bdbCopy full SHA for 0652bdb
scripts/rollup/shims/react-native/ReactNativeViewConfigRegistry.js
@@ -34,8 +34,8 @@ const customDirectEventTypes: {
34
exports.customBubblingEventTypes = customBubblingEventTypes;
35
exports.customDirectEventTypes = customDirectEventTypes;
36
37
-const viewConfigCallbacks = new Map();
38
-const viewConfigs = new Map();
+const viewConfigCallbacks = new Map<string, ?() => ViewConfig>();
+const viewConfigs = new Map<string, ViewConfig>();
39
40
function processEventTypes(viewConfig: ViewConfig): void {
41
const {bubblingEventTypes, directEventTypes} = viewConfig;
0 commit comments