summaryrefslogtreecommitdiff
path: root/js/globals.ts
diff options
context:
space:
mode:
authorAdam Conrad <422184+acconrad@users.noreply.github.com>2019-01-23 12:20:53 +0000
committerRyan Dahl <ry@tinyclouds.org>2019-01-23 06:20:53 -0600
commite470f31d328884303e56f2f15a4121b8ffe097a6 (patch)
tree84e878d3c53db4f969c29357c7f5985b59c7d9f2 /js/globals.ts
parent77114fbda49382e397095d8214bd76996b0cfb57 (diff)
Web API: CustomEvent (#1505)
Diffstat (limited to 'js/globals.ts')
-rw-r--r--js/globals.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/globals.ts b/js/globals.ts
index edf7fae8f..706d6cd15 100644
--- a/js/globals.ts
+++ b/js/globals.ts
@@ -9,6 +9,7 @@
// can be expressed as a namespace in the type library.
import * as blob from "./blob";
import * as consoleTypes from "./console";
+import * as customEvent from "./custom_event";
import * as domTypes from "./dom_types";
import * as event from "./event";
import * as eventTarget from "./event_target";
@@ -64,6 +65,10 @@ export type Blob = blob.DenoBlob;
// window.File = file.DenoFile;
// export type File = file.DenoFile;
+window.CustomEventInit = customEvent.CustomEventInit;
+export type CustomEventInit = customEvent.CustomEventInit;
+window.CustomEvent = customEvent.CustomEvent;
+export type CustomEvent = customEvent.CustomEvent;
window.EventInit = event.EventInit;
export type EventInit = event.EventInit;
window.Event = event.Event;