@allow-large-files Upgrade xplat/js to Flow v0.66

Reviewed By: gabelevi

Differential Revision: D7016717

fbshipit-source-id: 2bd2fd67074ba5d405ecd63a1aeb37354f8634c9
This commit is contained in:
Caleb Meredith 2018-02-16 19:59:54 -08:00 committed by Facebook Github Bot
parent b62f85ab6a
commit 52f9d46eea

View File

@ -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,