summaryrefslogtreecommitdiff
path: root/op_crates/fetch/internal.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'op_crates/fetch/internal.d.ts')
-rw-r--r--op_crates/fetch/internal.d.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/op_crates/fetch/internal.d.ts b/op_crates/fetch/internal.d.ts
index e02bc6ed2..5fb30f503 100644
--- a/op_crates/fetch/internal.d.ts
+++ b/op_crates/fetch/internal.d.ts
@@ -19,6 +19,13 @@ declare namespace globalThis {
Headers: typeof Headers;
};
+ declare var blob: {
+ Blob: typeof Blob & {
+ [globalThis.__bootstrap.blob._byteSequence]: Uint8Array;
+ };
+ _byteSequence: unique symbol;
+ };
+
declare var streams: {
ReadableStream: typeof ReadableStream;
isReadableStreamDisturbed(stream: ReadableStream): boolean;