summaryrefslogtreecommitdiff
path: root/cli/js/runtime_worker.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-05-11 22:28:13 +1000
committerGitHub <noreply@github.com>2020-05-11 14:28:13 +0200
commitd16c7394cb052928d1ff9ae63cbb13811f264727 (patch)
tree426c88fa1df0c55091cddc93fa2e23999131dc7b /cli/js/runtime_worker.ts
parent32aeec9630dc91162f0408b95dd86e1c26e4c1d3 (diff)
fix: Expose ErrorEvent globally (#5222)
Diffstat (limited to 'cli/js/runtime_worker.ts')
-rw-r--r--cli/js/runtime_worker.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/js/runtime_worker.ts b/cli/js/runtime_worker.ts
index 18f8841f9..ed735fd52 100644
--- a/cli/js/runtime_worker.ts
+++ b/cli/js/runtime_worker.ts
@@ -22,7 +22,8 @@ import * as denoNs from "./deno.ts";
import * as denoUnstableNs from "./deno_unstable.ts";
import * as webWorkerOps from "./ops/web_worker.ts";
import { log, assert, immutableDefine } from "./util.ts";
-import { MessageEvent, ErrorEvent } from "./web/workers.ts";
+import { ErrorEventImpl as ErrorEvent } from "./web/error_event.ts";
+import { MessageEvent } from "./web/workers.ts";
import { TextEncoder } from "./web/text_encoding.ts";
import * as runtime from "./runtime.ts";
import { internalObject, internalSymbol } from "./internals.ts";