From ba40347a35d10cffeae83ee95f69f7bc281096dd Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Tue, 6 Aug 2024 00:13:02 -0700 Subject: feat(fetch): accept async iterables for body (#24623) Implements https://github.com/whatwg/webidl/pull/1397 Fixes #21454 Closes #24849 --- ext/fetch/lib.deno_fetch.d.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/fetch/lib.deno_fetch.d.ts') diff --git a/ext/fetch/lib.deno_fetch.d.ts b/ext/fetch/lib.deno_fetch.d.ts index c27313903..3bf608cdb 100644 --- a/ext/fetch/lib.deno_fetch.d.ts +++ b/ext/fetch/lib.deno_fetch.d.ts @@ -163,6 +163,7 @@ declare type BodyInit = | FormData | URLSearchParams | ReadableStream + | AsyncIterable | string; /** @category Fetch */ declare type RequestDestination = -- cgit v1.2.3