2
0
mirror of https://github.com/status-im/react-native.git synced 2025-01-18 13:31:18 +00:00
Nick Lockwood 95b9dd3a88 Added support for method argument nullability
Summary:
This diff adds support for enforcing nullability in the arguments for exported methods.

We previously supported use of the nullable/nonnull attributes on method arguments, but didn't do anything to ensure that they were respected.

Now, if an argument is marked as nonnull, and a null value is sent for that argument, it will display a redbox.

In future, nonnull will be assumed by default, but for now we assume that un-annotated arguments can be null (to avoid breaking existing code).
2015-07-29 05:50:27 -08:00
..
2015-07-10 08:31:21 -08:00
2015-06-22 06:56:43 -08:00
2015-06-22 08:17:09 -08:00
2015-05-20 18:26:36 -08:00
2015-07-28 07:21:50 -08:00
2015-07-20 09:52:31 -08:00
2015-07-27 01:18:40 -08:00