mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Checking if the moduleInfo is null, before calling moduleInfo.asObject isn't sufficient. Before calling moduleInfo.asObject, we should first check if the moduleInfo is an Object. Changelog: [Internal] Reviewed By: fkgozali Differential Revision: D26735367 fbshipit-source-id: b726216857bf23a3c9bab14414bf45b10900e033