Skip to content

Commit

Permalink
fix: fetch types request info should receive an URL
Browse files Browse the repository at this point in the history
fix: fetch types request info should receive an URL
  • Loading branch information
Gozala authored Jul 16, 2021
2 parents 68e89a8 + aa6d304 commit f554ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fetch/@types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ declare class Body {
}

type RequestRedirect = 'error' | 'follow' | 'manual';
type RequestInfo = string | Body;
type RequestInfo = string | Body | URL;
declare class Request extends Body {
constructor(input: RequestInfo, init?: RequestInit);

Expand Down

0 comments on commit f554ca2

Please sign in to comment.