1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| import types = require('./types');
|
| declare function compressImg(file: File | Blob | string, cb: types.AnyFn): void;
| declare function compressImg(
| file: File | Blob | string,
| options?: {
| maxWidth?: number;
| maxHeight?: number;
| width?: number;
| height?: number;
| mimeType?: string;
| quality?: number;
| },
| cb?: types.AnyFn
| ): void;
|
| export = compressImg;
|
|