diff options
author | Luca Casonato <lucacasonato@yahoo.com> | 2021-01-30 19:22:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-30 19:22:24 +0100 |
commit | fa975a9baee4c7489ad743be72b97372b616453a (patch) | |
tree | e5ee1456bf653968366f988cd00ffccb754d77dd /op_crates/fetch/internal.d.ts | |
parent | ef46bc88bd48371d10ef59c99c8c113632ea7d97 (diff) |
refactor: rewrite Blob implementation (#9309)
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Diffstat (limited to 'op_crates/fetch/internal.d.ts')
-rw-r--r-- | op_crates/fetch/internal.d.ts | 7 |
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; |