@uppy/utils
Version:
Shared utility functions for Uppy Core and plugins maintained by the Uppy team.
8 lines • 328 B
TypeScript
type dataURItoBlobOptions = {
mimeType?: string;
name?: string;
};
declare function dataURItoBlob(dataURI: string, opts: dataURItoBlobOptions): Blob;
declare function dataURItoBlob(dataURI: string, opts: dataURItoBlobOptions, toFile: true): File;
export default dataURItoBlob;
//# sourceMappingURL=dataURItoBlob.d.ts.map