1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-03 21:08:56 -05:00
denoland-deno/js/lib.globals.d.ts

20 lines
488 B
TypeScript
Raw Normal View History

// 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" />
2018-08-07 16:27:31 -04:00
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;