summaryrefslogtreecommitdiff
path: root/cli/tsc/dts/lib.webworker.d.ts
diff options
context:
space:
mode:
authorKenta Moriuchi <moriken@kimamass.com>2024-07-02 23:04:08 +0900
committerGitHub <noreply@github.com>2024-07-02 16:04:08 +0200
commitf78a60e882dbcbf43c8abd710733e5fa73e9ed4d (patch)
treecb26a3f501cba7e40d102d2a9a4f302e4bcb7ed8 /cli/tsc/dts/lib.webworker.d.ts
parent8db420d552bc1d480a21748d73b566b623a266c1 (diff)
feat(ext/web): add `Blob.prototype.bytes()` (#24148)
Diffstat (limited to 'cli/tsc/dts/lib.webworker.d.ts')
-rw-r--r--cli/tsc/dts/lib.webworker.d.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/tsc/dts/lib.webworker.d.ts b/cli/tsc/dts/lib.webworker.d.ts
index 7ffd63c4b..3f722c1b0 100644
--- a/cli/tsc/dts/lib.webworker.d.ts
+++ b/cli/tsc/dts/lib.webworker.d.ts
@@ -1007,6 +1007,8 @@ interface Blob {
readonly type: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/arrayBuffer) */
arrayBuffer(): Promise<ArrayBuffer>;
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/bytes) */
+ bytes(): Promise<Uint8Array>;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/slice) */
slice(start?: number, end?: number, contentType?: string): Blob;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/stream) */