mirror of
https://github.com/denoland/deno.git
synced 2025-09-28 05:04:48 +00:00
Source map support (#429)
This change increases size: out/debug/obj/libdeno/from_snapshot.o 19M -> 34M out/release/deno 32M -> 47M
This commit is contained in:
parent
e30bdb71aa
commit
c7c6203e61
11 changed files with 90 additions and 27 deletions
9
js/lib.deno.d.ts
vendored
9
js/lib.deno.d.ts
vendored
|
@ -27,10 +27,15 @@ declare class Console {
|
|||
|
||||
interface Window {
|
||||
console: Console;
|
||||
mainSource: string; // TODO(ry) This shouldn't be global.
|
||||
// TODO(ry) These shouldn't be global.
|
||||
mainSource: string;
|
||||
setMainSourceMap(sm: string): void;
|
||||
}
|
||||
|
||||
// Globals in the runtime environment
|
||||
declare let console: Console;
|
||||
declare let mainSource: string; // TODO(ry) This shouldn't be global.
|
||||
declare const window: Window;
|
||||
|
||||
// TODO(ry) These shouldn't be global.
|
||||
declare let mainSource: string;
|
||||
declare function setMainSourceMap(sm: string): void;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue