summaryrefslogtreecommitdiff
path: root/ext/web/internal.d.ts
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2022-05-13 14:28:05 +0200
committerGitHub <noreply@github.com>2022-05-13 14:28:05 +0200
commita5b50d0915a666c54e8668d6f8bc1b8f5d7e121a (patch)
treea15b4feae4300d53a37ba0c3bcb27d2c3038dd0a /ext/web/internal.d.ts
parent42fec5150ecbd80f110d2bb32f1dcd2b2a344dd3 (diff)
feat(ext/web): implement static `Response.json` (#14566)
This commit adds support for the static `Response.json` method.
Diffstat (limited to 'ext/web/internal.d.ts')
-rw-r--r--ext/web/internal.d.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/web/internal.d.ts b/ext/web/internal.d.ts
index 8e580495b..04309a77e 100644
--- a/ext/web/internal.d.ts
+++ b/ext/web/internal.d.ts
@@ -45,6 +45,7 @@ declare namespace globalThis {
};
forgivingBase64Encode(data: Uint8Array): string;
forgivingBase64Decode(data: string): Uint8Array;
+ serializeJSValueToJSONString(value: unknown): string;
};
declare var domException: {