react-native/Libraries/ReactIOS
Martin Kralik 14478f6701 better error message for `propTypes` check
Summary:
When you did a typo in declaring a prop type (like using `boolean` insteal of `bool`) you'd got a bit misleading error message:
{F27113768}
The truth is that the prop type is defined, but not correctly. So I've changed the message in this case to be more accurate:
{F27113627}

public

Reviewed By: sahrens

Differential Revision: D2729340

fb-gh-sync-id: dd12c10a4f3a1c9825293f86481a082908127a76
2015-12-09 04:06:31 -08:00
..
IOSDefaultEventPluginOrder.js flowify Libraries/ReactIOS 2015-03-25 17:09:51 -08:00
IOSNativeBridgeEventPlugin.js Wrapped UIManager native module for better abstraction 2015-11-27 07:00:32 -08:00
NativeMethodsMixin.js Wrapped UIManager native module for better abstraction 2015-11-27 07:00:32 -08:00
YellowBox.js RN: Add "Dismiss All" to YellowBox 2015-11-24 11:37:31 -08:00
renderApplication.android.js RN: Revamp YellowBox for Warnings 2015-11-20 13:09:16 -08:00
renderApplication.ios.js Fix errors uncovered by v0.19.0 2015-12-01 20:11:26 -08:00
requireNativeComponent.js Added RCTImageSource 2015-12-08 03:32:30 -08:00
verifyPropTypes.js better error message for `propTypes` check 2015-12-09 04:06:31 -08:00