diff options
author | Parsa Ghadimi <me@qti3e.com> | 2018-09-14 17:15:50 +0430 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-09-14 10:04:10 -0700 |
commit | 7b7052e1abb0735ca443ffd133b014a19b7dab3d (patch) | |
tree | cee20d0143b9a0a7545b60ab329a17d1e17d9c11 /js/globals.ts | |
parent | aaf70ca092fb9866bd50725f8f5b67be6f6879e3 (diff) |
Implement Blob
Diffstat (limited to 'js/globals.ts')
-rw-r--r-- | js/globals.ts | 4 |
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; |