diff --git a/README.md b/README.md index 89e143b..ed1de39 100644 --- a/README.md +++ b/README.md @@ -247,7 +247,7 @@ const blob = await store.getMetadata('some-key') console.log(blob.etag, blob.metadata) ``` -### `set(key: string, value: ArrayBuffer | Blob | ReadableStream | string, { metadata?: object }): Promise` +### `set(key: string, value: ArrayBuffer | Blob | string, { metadata?: object }): Promise` Creates an object with the given key and value. diff --git a/src/types.ts b/src/types.ts index dae0d3f..09fd52f 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,4 +1,4 @@ -export type BlobInput = ReadableStream | string | ArrayBuffer | Blob +export type BlobInput = string | ArrayBuffer | Blob export type Fetcher = typeof globalThis.fetch