Create index.d.ts (#64)

This commit is contained in:
William Candillon 2017-01-30 14:06:30 +01:00 committed by Florian Rival
parent 2680941ae0
commit d762433fe8
1 changed files with 7 additions and 0 deletions

7
index.d.ts vendored Normal file
View File

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