You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use the following interface to type my const options: Options, but it is not exported in code
interfaceOptions{/** @default Number.POSITIVE_INFINITY */maxSizeMB?: number;/** @default undefined */maxWidthOrHeight?: number;/** @default true */useWebWorker?: boolean;/** @default 10 */maxIteration?: number;/** Default to be the exif orientation from the image file */exifOrientation?: number;/** A function takes one progress argument (progress from 0 to 100) */onProgress?: (progress: number)=>void;/** Default to be the original mime type from the image file */fileType?: string;/** @default 1.0 */initialQuality?: number;/** @default false */alwaysKeepResolution?: boolean;/** @default undefined */signal?: AbortSignal;}
The text was updated successfully, but these errors were encountered:
I would like to use the following interface to type my
const options: Options
, but it is not exported in codeThe text was updated successfully, but these errors were encountered: