Skip to content

Commit f554ca2

Browse files
authored
fix: fetch types request info should receive an URL
fix: fetch types request info should receive an URL
2 parents 68e89a8 + aa6d304 commit f554ca2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fetch/@types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ declare class Body {
116116
}
117117

118118
type RequestRedirect = 'error' | 'follow' | 'manual';
119-
type RequestInfo = string | Body;
119+
type RequestInfo = string | Body | URL;
120120
declare class Request extends Body {
121121
constructor(input: RequestInfo, init?: RequestInit);
122122

0 commit comments

Comments
 (0)