From b3b712f3f0f2ea371e5a9ec70cc60c1b77b868ba Mon Sep 17 00:00:00 2001 From: v1rtl Date: Thu, 20 Feb 2025 02:53:48 +0200 Subject: [PATCH] fix: types --- packages/upload-client/src/fetch-with-upload-progress.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/upload-client/src/fetch-with-upload-progress.js b/packages/upload-client/src/fetch-with-upload-progress.js index 0f200b779..12fdf0a6d 100644 --- a/packages/upload-client/src/fetch-with-upload-progress.js +++ b/packages/upload-client/src/fetch-with-upload-progress.js @@ -1,6 +1,6 @@ /** * - * @param {AsyncIterable>} iterable + * @param {AsyncIterable} iterable * @returns {ReadableStream} */ function iterableToStream(iterable) { @@ -23,7 +23,7 @@ function iterableToStream(iterable) { * and returns async iterable that emits body chunks and emits * `onUploadProgress`. * - * @param {ReadableStream | null} body + * @param {ReadableStream} body * @param {import('./types.js').ProgressFn} onUploadProgress * @returns {AsyncIterable} */