diff options
Diffstat (limited to 'js/globals.ts')
-rw-r--r-- | js/globals.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/globals.ts b/js/globals.ts index e0fa6ef12..935890be4 100644 --- a/js/globals.ts +++ b/js/globals.ts @@ -58,6 +58,8 @@ window.clearInterval = timers.clearTimer; window.console = new consoleTypes.Console(libdeno.print); window.setTimeout = timers.setTimeout; window.setInterval = timers.setInterval; +// tslint:disable-next-line:no-any +window.location = (undefined as unknown) as domTypes.Location; // When creating the runtime type library, we use modifications to `window` to // determine what is in the global namespace. When we put a class in the |