Unrevert D3518381

Reviewed By: gabelevi

Differential Revision: D3522895

fbshipit-source-id: 52f28c7f3142566a07d8bc845be882aeda098809
This commit is contained in:
Jeff Morrison 2016-07-06 12:49:08 -07:00 committed by Facebook Github Bot 9
parent f74c74f6c5
commit 5e06da91ad
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}`
);