1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-21 21:50:00 -05:00

fix(ext/fetch): extend deprecated fetch() overload with string | Request (#14134)

This commit is contained in:
Nayeem Rahman 2022-03-28 11:35:48 +01:00 committed by GitHub
parent 33a8613451
commit 317f13b63f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -445,6 +445,6 @@ declare function fetch(
* `Response` to that `Request`, whether it is successful or not.
*/
declare function fetch(
input: URL,
input: URL | Request | string,
init?: RequestInit,
): Promise<Response>;