Update flow typing according to latest changes in the library interface
This commit is contained in:
parent
433b6bb9c4
commit
fa6acf8447
|
@ -1,4 +1,10 @@
|
|||
// @flow
|
||||
declare type ResizedImageInfo = {
|
||||
path: string,
|
||||
uri: string,
|
||||
size?: number,
|
||||
name?: string
|
||||
};
|
||||
|
||||
declare export function createResizedImage(
|
||||
uri: string,
|
||||
|
@ -8,5 +14,5 @@ declare export function createResizedImage(
|
|||
quality: number,
|
||||
rotation?: number,
|
||||
outputPath?: string
|
||||
): Promise<string>;
|
||||
): Promise<ResizedImageInfo>;
|
||||
|
||||
|
|
Loading…
Reference in New Issue