mirror of
https://github.com/status-im/react-native-cameraroll.git
synced 2025-01-16 21:04:17 +00:00
flowify some Libraries
This commit is contained in:
parent
45e2c53cf0
commit
13610982ab
@ -7,6 +7,7 @@
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*
|
||||
* @providesModule CameraRoll
|
||||
* @flow
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
@ -28,7 +29,8 @@ var GROUP_TYPES_OPTIONS = [
|
||||
'SavedPhotos', // default
|
||||
];
|
||||
|
||||
deepFreezeAndThrowOnMutationInDev(GROUP_TYPES_OPTIONS);
|
||||
// Flow treats Object and Array as disjoint types, currently.
|
||||
deepFreezeAndThrowOnMutationInDev((GROUP_TYPES_OPTIONS: any));
|
||||
|
||||
/**
|
||||
* Shape of the param arg for the `getPhotos` function.
|
||||
|
Loading…
x
Reference in New Issue
Block a user