Create index.d.ts (#64)
This commit is contained in:
parent
2680941ae0
commit
d762433fe8
|
@ -0,0 +1,7 @@
|
|||
declare module "react-native-image-resizer" {
|
||||
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