2018-07-27 02:51:19 -04:00
|
|
|
// 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";
|
2018-07-27 02:51:19 -04:00
|
|
|
|
|
|
|
interface Window {
|
2018-08-02 13:13:32 -04:00
|
|
|
// TODO(ry) These shouldn't be global.
|
|
|
|
mainSource: string;
|
|
|
|
setMainSourceMap(sm: string): void;
|
2018-07-27 02:51:19 -04:00
|
|
|
}
|
|
|
|
|
2018-08-02 13:13:32 -04:00
|
|
|
// TODO(ry) These shouldn't be global.
|
|
|
|
declare let mainSource: string;
|
|
|
|
declare function setMainSourceMap(sm: string): void;
|