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; +}