fbobjc -> Flow v0.28
Reviewed By: gabelevi Differential Revision: D3518381 fbshipit-source-id: 2dd5f89177aaefbd098ba1fd3c193da111ff14c7
This commit is contained in:
parent
ddeaf09a1c
commit
637d75a990
|
@ -143,6 +143,7 @@ class CameraRoll {
|
||||||
|
|
||||||
invariant(
|
invariant(
|
||||||
type === 'photo' || type === 'video' || type === undefined,
|
type === 'photo' || type === 'video' || type === undefined,
|
||||||
|
// $FlowFixMe(>=0.28.0)
|
||||||
`The second argument to saveToCameraRoll must be 'photo' or 'video'. You passed ${type}`
|
`The second argument to saveToCameraRoll must be 'photo' or 'video'. You passed ${type}`
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue