summaryrefslogtreecommitdiff
path: root/extensions/web/internal.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/web/internal.d.ts')
-rw-r--r--extensions/web/internal.d.ts10
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;
+ };
+ };
}
}