Skip to content

Commit

Permalink
fix(ext/fetch): extend deprecated fetch() overload with `string | Req…
Browse files Browse the repository at this point in the history
…uest` (denoland#14134)
  • Loading branch information
nayeemrmn committed Mar 28, 2022
1 parent 33a8613 commit 317f13b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/fetch/lib.deno_fetch.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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>;

0 comments on commit 317f13b

Please sign in to comment.