From d762433fe880a4462c9194567ee2befed43909cd Mon Sep 17 00:00:00 2001 From: William Candillon Date: Mon, 30 Jan 2017 14:06:30 +0100 Subject: [PATCH] Create index.d.ts (#64) --- index.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 index.d.ts diff --git a/index.d.ts b/index.d.ts new file mode 100644 index 0000000..016bbec --- /dev/null +++ b/index.d.ts @@ -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; +}