mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 10:59:13 +00:00
feat(ext/web): implement static Response.json
(#14566)
This commit adds support for the static `Response.json` method.
This commit is contained in:
parent
42fec5150e
commit
a5b50d0915
5 changed files with 118 additions and 46 deletions
1
ext/web/internal.d.ts
vendored
1
ext/web/internal.d.ts
vendored
|
@ -45,6 +45,7 @@ declare namespace globalThis {
|
|||
};
|
||||
forgivingBase64Encode(data: Uint8Array): string;
|
||||
forgivingBase64Decode(data: string): Uint8Array;
|
||||
serializeJSValueToJSONString(value: unknown): string;
|
||||
};
|
||||
|
||||
declare var domException: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue