mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
c0bf53b716
Summary: Some native modules methods expects number-based args like `NSDate`. For backward compatibility, the incoming numbers should be converted using RCTConvert, just like object args. Reviewed By: mdvacca Differential Revision: D15748968 fbshipit-source-id: 4db2cb0c41eda1bbe8cde7b0365d9c3d675f5fb5