From 3b12a39ea222ff43637a488af560836088fa5753 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jimmy=20W=C3=A4rting?= Date: Sat, 13 Feb 2021 15:50:02 +0100 Subject: [PATCH] cast type to string --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 65331aa..403eca4 100644 --- a/index.js +++ b/index.js @@ -148,7 +148,7 @@ class Blob { } } - const blob = new Blob([], {type}); + const blob = new Blob([], {type: String(type).toLowerCase()}); Object.assign(wm.get(blob), {size: span, parts: blobParts}); return blob;