summaryrefslogtreecommitdiff
path: root/cli/js/core.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/core.ts')
-rw-r--r--cli/js/core.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/js/core.ts b/cli/js/core.ts
new file mode 100644
index 000000000..d394d822f
--- /dev/null
+++ b/cli/js/core.ts
@@ -0,0 +1,6 @@
+// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
+import { window } from "./window.ts";
+
+// This allows us to access core in API even if we
+// dispose window.Deno
+export const core = window.Deno.core as DenoCore;