summaryrefslogtreecommitdiff
path: root/js/globals.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/globals.ts')
-rw-r--r--js/globals.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/globals.ts b/js/globals.ts
index 3805f12f5..912af7dc4 100644
--- a/js/globals.ts
+++ b/js/globals.ts
@@ -7,6 +7,7 @@ import * as fetch_ from "./fetch";
import { libdeno } from "./libdeno";
import { globalEval } from "./global-eval";
import { DenoHeaders } from "./fetch";
+import { DenoBlob } from "./blob";
declare global {
interface Window {
@@ -26,6 +27,7 @@ declare global {
TextDecoder: typeof TextDecoder;
Headers: typeof Headers;
+ Blob: typeof Blob;
}
const clearTimeout: typeof timers.clearTimer;
@@ -42,6 +44,7 @@ declare global {
const TextEncoder: typeof textEncoding.TextEncoder;
const TextDecoder: typeof textEncoding.TextDecoder;
const Headers: typeof DenoHeaders;
+ const Blob: typeof DenoBlob;
// tslint:enable:variable-name
}
@@ -63,3 +66,4 @@ window.TextDecoder = textEncoding.TextDecoder;
window.fetch = fetch_.fetch;
window.Headers = DenoHeaders;
+window.Blob = DenoBlob;