mirror of
https://github.com/status-im/react-native-image-resizer.git
synced 2025-01-16 09:44:24 +00:00
Create index.d.ts (#64)
This commit is contained in:
parent
2680941ae0
commit
d762433fe8
7
index.d.ts
vendored
Normal file
7
index.d.ts
vendored
Normal 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>;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user