diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-06-10 15:26:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-10 15:26:10 +0200 |
commit | 6091ea098a86cafb38aed3228a64ad96a046c817 (patch) | |
tree | 1533eb7872db17abe2d88a8db32c4719d403ba4d /extensions/web/internal.d.ts | |
parent | fb20a6af761c8eb61a046b4c70e28061923e36ca (diff) |
refactor: merge deno_file crate into deno_web (#10914)
This refactor makes it so there's one less crate to publish on each release.
Diffstat (limited to 'extensions/web/internal.d.ts')
-rw-r--r-- | extensions/web/internal.d.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/extensions/web/internal.d.ts b/extensions/web/internal.d.ts index ebfa0d39e..4492e6554 100644 --- a/extensions/web/internal.d.ts +++ b/extensions/web/internal.d.ts @@ -70,5 +70,15 @@ declare namespace globalThis { atob(data: string): string; btoa(data: string): string; }; + + declare var file: { + Blob: typeof Blob & { + [globalThis.__bootstrap.file._byteSequence]: Uint8Array; + }; + readonly _byteSequence: unique symbol; + File: typeof File & { + [globalThis.__bootstrap.file._byteSequence]: Uint8Array; + }; + }; } } |