Flow 0.59 xplat/js deploy

Reviewed By: avikchaudhuri

Differential Revision: D6300238

fbshipit-source-id: a6839fa2a9bbc50c3832a3f5b1cac2a6d2bd96b7
This commit is contained in:
Caleb Meredith 2017-11-10 21:03:52 -08:00 committed by Facebook Github Bot
parent bef0b637c3
commit b1336a8160
1 changed files with 4 additions and 0 deletions

View File

@ -255,6 +255,10 @@ class CameraRoll {
* }
* ```
*/
/* $FlowFixMe(>=0.59.0 site=react_native_fb) This comment suppresses an error
* caught by Flow 0.59 which was not caught before. Most likely, this error
* is because an exported function parameter is missing an annotation.
* Without an annotation, these parameters are uncovered by Flow. */
static getPhotos(params) {
if (__DEV__) {
checkPropTypes(