diff --git a/Libraries/BatchedBridge/BatchedBridgedModules/NativeModules.js b/Libraries/BatchedBridge/BatchedBridgedModules/NativeModules.js index e374ddab9..dfbd9edd1 100644 --- a/Libraries/BatchedBridge/BatchedBridgedModules/NativeModules.js +++ b/Libraries/BatchedBridge/BatchedBridgedModules/NativeModules.js @@ -51,6 +51,11 @@ Object.keys(RemoteModules).forEach((moduleName) => { module = config && BatchedBridge.processModuleConfig(config, module.moduleID); RemoteModules[moduleName] = module; } + Object.defineProperty(NativeModules, moduleName, { + configurable: true, + enumerable: true, + value: module, + }); return module; }, });