summaryrefslogtreecommitdiff
path: root/js/globals.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/globals.ts')
-rw-r--r--js/globals.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/globals.ts b/js/globals.ts
index 27cef3909..92e4662aa 100644
--- a/js/globals.ts
+++ b/js/globals.ts
@@ -32,7 +32,6 @@ import * as request from "./request";
// These imports are not exposed and therefore are fine to just import the
// symbols required.
import { core } from "./core";
-import { immutableDefine } from "./util";
// During the build process, augmentations to the variable `window` in this
// file are tracked and created as part of default library that is built into
@@ -71,7 +70,7 @@ window.window = window;
// This is the Deno namespace, it is handled differently from other window
// properties when building the runtime type library, as the whole module
// is flattened into a single namespace.
-immutableDefine(window, "Deno", deno);
+window.Deno = deno;
Object.freeze(window.Deno);
// Globally available functions and object instances.