diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2020-05-11 22:28:13 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-11 14:28:13 +0200 |
commit | d16c7394cb052928d1ff9ae63cbb13811f264727 (patch) | |
tree | 426c88fa1df0c55091cddc93fa2e23999131dc7b /cli/js/globals.ts | |
parent | 32aeec9630dc91162f0408b95dd86e1c26e4c1d3 (diff) |
fix: Expose ErrorEvent globally (#5222)
Diffstat (limited to 'cli/js/globals.ts')
-rw-r--r-- | cli/js/globals.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/js/globals.ts b/cli/js/globals.ts index be327722c..28910d76b 100644 --- a/cli/js/globals.ts +++ b/cli/js/globals.ts @@ -11,6 +11,7 @@ import * as promiseTypes from "./web/promise.ts"; import * as customEvent from "./web/custom_event.ts"; import * as domException from "./web/dom_exception.ts"; import * as domFile from "./web/dom_file.ts"; +import * as errorEvent from "./web/error_event.ts"; import * as event from "./web/event.ts"; import * as eventTarget from "./web/event_target.ts"; import * as formData from "./web/form_data.ts"; @@ -227,6 +228,7 @@ export const windowOrWorkerGlobalScopeProperties = { File: nonEnumerable(domFile.DomFileImpl), CustomEvent: nonEnumerable(customEvent.CustomEventImpl), DOMException: nonEnumerable(domException.DOMExceptionImpl), + ErrorEvent: nonEnumerable(errorEvent.ErrorEventImpl), Event: nonEnumerable(event.EventImpl), EventTarget: nonEnumerable(eventTarget.EventTargetImpl), URL: nonEnumerable(url.URLImpl), |