Skip to content

Commit 3b12a39

Browse files
authored
cast type to string
1 parent 591a28e commit 3b12a39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ class Blob {
148148
}
149149
}
150150

151-
const blob = new Blob([], {type});
151+
const blob = new Blob([], {type: String(type).toLowerCase()});
152152
Object.assign(wm.get(blob), {size: span, parts: blobParts});
153153

154154
return blob;

0 commit comments

Comments
 (0)