diff --git a/index.js.flow b/index.js.flow index 38c49e3..402384d 100644 --- a/index.js.flow +++ b/index.js.flow @@ -6,7 +6,7 @@ declare type ResizedImageInfo = { name?: string }; -declare export function createResizedImage( +declare function createResizedImage( uri: string, width: number, height: number, @@ -16,3 +16,6 @@ declare export function createResizedImage( outputPath?: string ): Promise; +declare export default { + createResizedImage: createResizedImage +};