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 d3268d6 commit 39e265bCopy full SHA for 39e265b
packages/storage/src/platform/browser/base64.ts
@@ -19,7 +19,7 @@ import { missingPolyFill } from '../../implementation/error';
19
20
/** Converts a Base64 encoded string to a binary string. */
21
export function decodeBase64(encoded: string): string {
22
- if ((typeof atob === 'undefined')) {
+ if (typeof atob === 'undefined') {
23
throw missingPolyFill('base-64');
24
}
25
return atob(encoded);
0 commit comments