Better handling of exceptions during snapshot creation.

This commit is contained in:
Ryan Dahl 2018-07-30 15:12:33 -04:00
parent ae82db54f6
commit db8dc0e9f8
2 changed files with 64 additions and 24 deletions

2
js/lib.deno.d.ts vendored
View file

@ -27,8 +27,10 @@ declare class Console {
interface Window {
console: Console;
mainSource: string; // TODO(ry) This shouldn't be global.
}
// Globals in the runtime environment
declare let console: Console;
declare let mainSource: string; // TODO(ry) This shouldn't be global.
declare const window: Window;