+2
-2
lines changedFilter options
+2
-2
lines changed Original file line number Diff line number Diff line change
@@ -147,7 +147,7 @@ export type RequestRedirect = 'error' | 'follow' | 'manual';
147
147
export type ReferrerPolicy = '' | 'no-referrer' | 'no-referrer-when-downgrade' | 'same-origin' | 'origin' | 'strict-origin' | 'origin-when-cross-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url';
148
148
export type RequestInfo = string | Request;
149
149
export class Request extends BodyMixin {
150
-
constructor(input: RequestInfo | URL, init?: RequestInit);
150
+
constructor(input: URL | RequestInfo, init?: RequestInit);
151
151
152
152
/**
153
153
* Returns a Headers object consisting of the headers associated with request. Note that headers added in the network layer by the user agent will not be accounted for in this object, e.g., the "Host" header.
@@ -216,4 +216,4 @@ export class AbortError extends Error {
216
216
}
217
217
218
218
export function isRedirect(code: number): boolean;
219
-
export default function fetch(url: RequestInfo | URL, init?: RequestInit): Promise<Response>;
219
+
export default function fetch(url: URL | RequestInfo, init?: RequestInit): Promise<Response>;
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4