diff options
author | Luca Casonato <lucacasonato@yahoo.com> | 2021-02-04 15:05:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-04 15:05:36 +0100 |
commit | 25b35be50dd59d00e126591dd24d06824e2c50cf (patch) | |
tree | 0708d2b8883be98c5c349bfad2d4225f02d8c6ab /op_crates/fetch/internal.d.ts | |
parent | 79fa7e0e96ed8261360b90fedcd795ad3a405e44 (diff) |
refactor: rewrite File implementation (#9334)
Diffstat (limited to 'op_crates/fetch/internal.d.ts')
-rw-r--r-- | op_crates/fetch/internal.d.ts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/op_crates/fetch/internal.d.ts b/op_crates/fetch/internal.d.ts index 5fb30f503..a474d499c 100644 --- a/op_crates/fetch/internal.d.ts +++ b/op_crates/fetch/internal.d.ts @@ -19,11 +19,14 @@ declare namespace globalThis { Headers: typeof Headers; }; - declare var blob: { + declare var file: { Blob: typeof Blob & { - [globalThis.__bootstrap.blob._byteSequence]: Uint8Array; + [globalThis.__bootstrap.file._byteSequence]: Uint8Array; }; _byteSequence: unique symbol; + File: typeof File & { + [globalThis.__bootstrap.file._byteSequence]: Uint8Array; + }; }; declare var streams: { |