From 7eb8cf6ec7f34316105a8a796984506ac7666141 Mon Sep 17 00:00:00 2001 From: Caleb Meredith Date: Fri, 16 Feb 2018 19:59:54 -0800 Subject: [PATCH] @allow-large-files Upgrade xplat/js to Flow v0.66 Reviewed By: gabelevi Differential Revision: D7016717 fbshipit-source-id: 2bd2fd67074ba5d405ecd63a1aeb37354f8634c9 --- CameraRoll.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CameraRoll.js b/CameraRoll.js index 0c91dc7fd0..3bc48664f3 100644 --- a/CameraRoll.js +++ b/CameraRoll.js @@ -113,8 +113,10 @@ type GetPhotosReturn = Promise<{ * Shape of the return value of the `getPhotos` function. */ const getPhotosReturnChecker = createStrictShapeTypeChecker({ - // $FlowFixMe(>=0.41.0) edges: PropTypes.arrayOf( + /* $FlowFixMe(>=0.66.0 site=react_native_fb) This comment suppresses an + * error found when Flow v0.66 was deployed. To see the error delete this + * comment and run Flow. */ createStrictShapeTypeChecker({ node: createStrictShapeTypeChecker({ type: PropTypes.string.isRequired,