Merge pull request #120 from Gerharddc/patch-1
Export under default in d.ts
This commit is contained in:
commit
4ed8798020
|
@ -5,9 +5,12 @@ declare module "react-native-image-resizer" {
|
|||
size?: number;
|
||||
name?: string;
|
||||
}
|
||||
export function createResizedImage(
|
||||
|
||||
export default class ImageResizer {
|
||||
static createResizedImage(
|
||||
uri: string, width: number, height: number,
|
||||
format: "PNG" | "JPEG" | "WEBP", quality: number,
|
||||
rotation?: number, outputPath?: string
|
||||
): Promise<Response>;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue