Add Flow support (#94)
This commit is contained in:
parent
e24f2e8da1
commit
90ef9daac2
|
@ -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>;
|
||||
|
Loading…
Reference in New Issue