3 Commits

Author SHA1 Message Date
Sirui Li
7b9445743c Fix Flow type default export (#99)
The actual JS module only has a default export of an object with `createResizedImage` function.

This PR update the Flow definition to match the usage of the module. This fixes the following flow error:

```
 18: import ImageResizer from 'react-native-image-resizer';
            ^^^^^^^^^^^^ Default import from `react-native-image-resizer`. This module has no default export.
```
2017-08-31 09:16:18 +02:00
Florian Rival
fa6acf8447 Update flow typing according to latest changes in the library interface 2017-08-17 21:48:58 +02:00
Dmitry Patsura
90ef9daac2 Add Flow support (#94) 2017-08-07 09:06:02 +02:00