0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-16 02:26:08 -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 David Sherret
parent 11011506e1
commit 25c9b70890

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>;