summaryrefslogtreecommitdiff
path: root/js/lib.globals.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib.globals.d.ts')
-rw-r--r--js/lib.globals.d.ts16
1 files changed, 1 insertions, 15 deletions
diff --git a/js/lib.globals.d.ts b/js/lib.globals.d.ts
index d11bbe97d..a1526c573 100644
--- a/js/lib.globals.d.ts
+++ b/js/lib.globals.d.ts
@@ -1,19 +1,5 @@
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
-
-// This file contains the default TypeScript libraries for the runtime
-
+// This file contains the default TypeScript libraries for the deno runtime.
/// <reference no-default-lib="true"/>
-
/// <reference lib="esnext" />
-
import "gen/js/globals";
-
-interface Window {
- // TODO(ry) These shouldn't be global.
- mainSource: string;
- setMainSourceMap(sm: string): void;
-}
-
-// TODO(ry) These shouldn't be global.
-declare let mainSource: string;
-declare function setMainSourceMap(sm: string): void;