We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51ee39e commit f43e08fCopy full SHA for f43e08f
src/wrapper/convertBase64ToBlob.ts
@@ -5,7 +5,7 @@
5
* @param {string} contentType - The MIME type to assign to the resulting `Blob`.
6
* @returns {Blob} A `Blob` object containing the binary data from the base64 string.
7
*/
8
-export function convertBase64ToBlob(base64: string, contentType: string): Blob {
+export function convertBase64ToBlob(base64: string, contentType?: string): Blob {
9
// Decode base64 string to a binary string
10
const binaryString = window.atob(base64);
11
0 commit comments