mirror of
https://github.com/denoland/deno.git
synced 2025-09-28 05:04:48 +00:00
Add support for fetch() headers (#727)
This commit is contained in:
parent
cb6c78c6d2
commit
41c70b154f
8 changed files with 137 additions and 21 deletions
2
js/fetch_types.d.ts
vendored
2
js/fetch_types.d.ts
vendored
|
@ -13,7 +13,7 @@ See the Apache Version 2.0 License for specific language governing permissions
|
|||
and limitations under the License.
|
||||
*******************************************************************************/
|
||||
|
||||
type HeadersInit = Headers | string[][] | Record<string, string>;
|
||||
type HeadersInit = string[][] | Record<string, string>;
|
||||
type BodyInit =
|
||||
| Blob
|
||||
| BufferSource
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue