diff --git a/packages/storage/src/api.browser.ts b/packages/storage/src/api.browser.ts index 1583df1e182..acb501f62d5 100644 --- a/packages/storage/src/api.browser.ts +++ b/packages/storage/src/api.browser.ts @@ -15,7 +15,7 @@ * limitations under the License. */ -import {StorageReference} from "./public-types"; +import { StorageReference } from './public-types'; /** * Downloads the data at the object's location. Returns an error if the object @@ -38,7 +38,7 @@ function getBlob( ref: StorageReference, maxDownloadSizeBytes?: number ): Promise { - throw new Error("Not implemented"); + throw new Error('Not implemented'); } /** @@ -58,7 +58,7 @@ function getStream( ref: StorageReference, maxDownloadSizeBytes?: number ): NodeJS.ReadableStream { - throw new Error("getStream() is only supported by NodeJS builds"); + throw new Error('getStream() is only supported by NodeJS builds'); } // TODO(getbytes): Export getBlob/getStream diff --git a/packages/storage/src/api.node.ts b/packages/storage/src/api.node.ts index 296a7ca24a7..4ab8ef2e412 100644 --- a/packages/storage/src/api.node.ts +++ b/packages/storage/src/api.node.ts @@ -15,7 +15,7 @@ * limitations under the License. */ -import {StorageReference} from "./public-types"; +import { StorageReference } from './public-types'; /** * Downloads the data at the object's location. Returns an error if the object @@ -38,7 +38,7 @@ function getBlob( ref: StorageReference, maxDownloadSizeBytes?: number ): Promise { - throw new Error("getBlob() is only available in Browser-like environments"); + throw new Error('getBlob() is only available in Browser-like environments'); } /** @@ -58,7 +58,7 @@ function getStream( ref: StorageReference, maxDownloadSizeBytes?: number ): NodeJS.ReadableStream { - throw new Error("Not implemented"); + throw new Error('Not implemented'); } // TODO(getbytes): Export getBlob/getStream