mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-23 02:08:30 +00:00
8 lines
208 B
TypeScript
8 lines
208 B
TypeScript
import dataURItoBlob from './dataURItoBlob.js'
|
|
|
|
export default function dataURItoFile(
|
|
dataURI: string,
|
|
opts: { mimeType?: string; name?: string },
|
|
): File {
|
|
return dataURItoBlob(dataURI, opts, true)
|
|
}
|