fbobjc -> Flow v0.28

Reviewed By: gabelevi

Differential Revision: D3518381

fbshipit-source-id: 2dd5f89177aaefbd098ba1fd3c193da111ff14c7
This commit is contained in:
Jeff Morrison 2016-07-06 08:56:10 -07:00 committed by Facebook Github Bot
parent ddeaf09a1c
commit 637d75a990
1 changed files with 1 additions and 0 deletions

View File

@ -143,6 +143,7 @@ class CameraRoll {
invariant(
type === 'photo' || type === 'video' || type === undefined,
// $FlowFixMe(>=0.28.0)
`The second argument to saveToCameraRoll must be 'photo' or 'video'. You passed ${type}`
);