mirror of
https://github.com/status-im/react-native-image-resizer.git
synced 2025-03-03 07:40:50 +00:00
Add Flow support (#94)
This commit is contained in:
parent
e24f2e8da1
commit
90ef9daac2
12
index.js.flow
Normal file
12
index.js.flow
Normal 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>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user