Add Flow support (#94)

This commit is contained in:
Dmitry Patsura 2017-08-07 03:06:02 -04:00 committed by Florian Rival
parent e24f2e8da1
commit 90ef9daac2
1 changed files with 12 additions and 0 deletions

12
index.js.flow Normal file
View File

@ -0,0 +1,12 @@
// @flow
declare export function createResizedImage(
uri: string,
width: number,
height: number,
format: 'PNG' | 'JPEG' | 'WEBP',
quality: number,
rotation?: number,
outputPath?: string
): Promise<string>;