summaryrefslogtreecommitdiff
path: root/js/libdeno.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/libdeno.ts')
-rw-r--r--js/libdeno.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/js/libdeno.ts b/js/libdeno.ts
index 83dc8efa0..142d779c2 100644
--- a/js/libdeno.ts
+++ b/js/libdeno.ts
@@ -10,6 +10,16 @@ interface Libdeno {
print(x: string): void;
+ setGlobalErrorHandler: (
+ handler: (
+ message: string,
+ source: string,
+ line: number,
+ col: number,
+ error: Error
+ ) => void
+ ) => void;
+
mainSource: string;
mainSourceMap: RawSourceMap;
}