summaryrefslogtreecommitdiff
path: root/js/globals.ts
diff options
context:
space:
mode:
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;