mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
274e407ad1
Summary: Updates the flow typing to return Promise\<string\> instead of Promise\<Object\>. To validate that it actually does return a string, see https://github.com/facebook/react-native/blob/6493a857542c0985470311511c1be80982fcd474/Libraries/CameraRoll/RCTCameraRollManager.m#L98 and https://github.com/facebook/react-native/blob/6493a857542c0985470311511c1be80982fcd474/Libraries/CameraRoll/RCTCameraRollManager.m#L116 Closes https://github.com/facebook/react-native/pull/15631 Differential Revision: D5714842 Pulled By: shergin fbshipit-source-id: fb141b014c262bc4fb44419515e56bbe0641d8bf