mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-06 22:44:22 +08:00
Summary:
I fix FormData type checking.
Simple test case:
```js
var fd = new FormData();
// JS Error.
// Because all non-string values threaded as "blob"
fd.append('number', 1);
```
Closes https://github.com/facebook/react-native/pull/4390
Reviewed By: svcscm
Differential Revision: D2818377
Pulled By: nicklockwood
fb-gh-sync-id: 8b3f27476af21c5fd65b844034579372172ea73c