summaryrefslogtreecommitdiff
path: root/js/globals.ts
diff options
context:
space:
mode:
authorNayeem Rahman <muhammed.9939@gmail.com>2019-09-10 15:57:17 +0100
committerRyan Dahl <ry@tinyclouds.org>2019-09-10 10:57:17 -0400
commit0b757f37371474da63db341b831d83539df28df6 (patch)
treed5783942d847762f0cde7d387f8e81f1af924b28 /js/globals.ts
parent2a83327a21e83180a21afd428b11aa03e3080346 (diff)
Expose the DOM Body interface globally (#2903)
Diffstat (limited to 'js/globals.ts')
-rw-r--r--js/globals.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/globals.ts b/js/globals.ts
index 6de8a5d89..e9479b4a5 100644
--- a/js/globals.ts
+++ b/js/globals.ts
@@ -99,6 +99,8 @@ window.crypto = (csprng as unknown) as Crypto;
window.Blob = blob.DenoBlob;
export type Blob = blob.DenoBlob;
+export type Body = domTypes.Body;
+
window.File = domFile.DenoFile as domTypes.DomFileConstructor;
export type File = domTypes.DomFile;