0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 17:34:47 -05:00
deno/js/lib.globals.d.ts
2018-08-08 04:17:46 -07:00

19 lines
488 B
TypeScript

// Copyright 2018 the Deno authors. All rights reserved. MIT license.
// This file contains the default TypeScript libraries for the 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;