1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 23:04:45 -05:00

fix: TypeScript 4.8 update (#16040)

This commit is contained in:
Kitson Kelly 2022-09-27 09:38:21 +10:00 committed by GitHub
parent 4b01ef5c23
commit 4ad48d5dab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,6 +16,7 @@ and limitations under the License.
/// <reference no-default-lib="true"/>
/// <reference lib="dom.extras" />
/////////////////////////////
@ -11554,6 +11555,7 @@ interface Response extends Body {
declare var Response: {
prototype: Response;
new(body?: BodyInit | null, init?: ResponseInit): Response;
json(data: unknown, init?: ResponseInit): Response;
error(): Response;
redirect(url: string | URL, status?: number): Response;
};