mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-26 10:49:57 +02:00
fix type
This commit is contained in:
@@ -451,7 +451,7 @@ const getActualMimeTypeFromImage = async (file: Blob | File) => {
|
||||
|
||||
export const createFile = (
|
||||
blob: File | Blob | ArrayBuffer,
|
||||
mimeType: ValueOf<typeof MIME_TYPES>,
|
||||
mimeType: string,
|
||||
name: string | undefined,
|
||||
) => {
|
||||
return new File([blob], name || "", {
|
||||
|
Reference in New Issue
Block a user