Revert "feat(fetch): accept async iterables for body" (#25207)

Unfortunately this caused a regression:
https://github.com/denoland/deno/issues/25203.

Need to do some more upstream spec work to fix this before this can be
re-landed.

Reverts denoland/deno#24623
This commit is contained in:
Luca Casonato 2024-08-26 12:24:27 +02:00 committed by GitHub
parent 675539c7ab
commit e53678fd58
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 51 additions and 217 deletions

View file

@ -163,7 +163,6 @@ declare type BodyInit =
| FormData
| URLSearchParams
| ReadableStream<Uint8Array>
| AsyncIterable<Uint8Array>
| string;
/** @category Fetch */
declare type RequestDestination =