flowify some Libraries

This commit is contained in:
Basil Hosmer
2015-03-25 11:12:57 -07:00
parent d0d6dbffb3
commit 18b6d5c20d
7 changed files with 23 additions and 7 deletions

View File

@@ -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.