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 935ff3c commit 5e140abCopy full SHA for 5e140ab
packages/storage/src/implementation/string.ts
@@ -22,7 +22,7 @@ import { decodeBase64 } from '../platform/base64';
22
* An enumeration of the possible string formats for upload.
23
* @public
24
*/
25
-export type StringFormat = string;
+export type StringFormat = typeof StringFormat[keyof typeof StringFormat];
26
/**
27
28
@@ -60,7 +60,7 @@ export const StringFormat = {
60
* be overridden in the metadata object).
61
62
DATA_URL: 'data_url'
63
-};
+} as const;
64
65
export class StringData {
66
contentType: string | null;
0 commit comments