diff options
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 a09e6ed9b..5a0ca7cc6 100644 --- a/js/globals.ts +++ b/js/globals.ts @@ -1,5 +1,7 @@ // Copyright 2018 the Deno authors. All rights reserved. MIT license. import * as blob from "./blob"; +import * as file from "./file"; +import * as formdata from "./form_data"; import * as console_ from "./console"; import * as fetch_ from "./fetch"; import { Headers } from "./headers"; @@ -44,3 +46,5 @@ window.fetch = fetch_.fetch; // runtime library window.Headers = Headers as domTypes.HeadersConstructor; window.Blob = blob.DenoBlob; +window.File = file.DenoFile; +window.FormData = formdata.FormData as domTypes.FormDataConstructor; |