This commit is contained in:
17
node_modules/licia/compressImg.d.ts
generated
vendored
Normal file
17
node_modules/licia/compressImg.d.ts
generated
vendored
Normal file
@@ -0,0 +1,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;
|
||||
Reference in New Issue
Block a user