From b1336a8160fd42525edf3d51e1335281c04abb11 Mon Sep 17 00:00:00 2001 From: Caleb Meredith Date: Fri, 10 Nov 2017 21:03:52 -0800 Subject: [PATCH] Flow 0.59 xplat/js deploy Reviewed By: avikchaudhuri Differential Revision: D6300238 fbshipit-source-id: a6839fa2a9bbc50c3832a3f5b1cac2a6d2bd96b7 --- CameraRoll.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CameraRoll.js b/CameraRoll.js index 66d8bd3eb..b9da61a56 100644 --- a/CameraRoll.js +++ b/CameraRoll.js @@ -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(