We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
status
Response.redirect
1 parent 7321451 commit 2c3ac34Copy full SHA for 2c3ac34
types/fetch.d.ts
@@ -207,5 +207,5 @@ export declare class Response extends BodyMixin {
207
208
static error (): Response
209
static json (data: any, init?: ResponseInit): Response
210
- static redirect (url: string | URL, status: ResponseRedirectStatus): Response
+ static redirect (url: string | URL, status?: ResponseRedirectStatus): Response
211
}
0 commit comments