feat(ext/web): implement static Response.json (#14566)

This commit adds support for the static `Response.json` method.
This commit is contained in:
Luca Casonato 2022-05-13 14:28:05 +02:00 committed by GitHub
parent 42fec5150e
commit a5b50d0915
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 118 additions and 46 deletions

View file

@ -45,6 +45,7 @@ declare namespace globalThis {
};
forgivingBase64Encode(data: Uint8Array): string;
forgivingBase64Decode(data: string): Uint8Array;
serializeJSValueToJSONString(value: unknown): string;
};
declare var domException: {