summaryrefslogtreecommitdiff
path: root/js/libdeno.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-01-06 16:32:21 -0500
committerGitHub <noreply@github.com>2019-01-06 16:32:21 -0500
commit1b7938e3aa0ba1fb7ad7d6699f01cbf3c8a4196c (patch)
tree25b63f93af0d5e9e571a1fd3c8c4b02191706dcf /js/libdeno.ts
parentf37d67e80933bc437fbd29092108eaf2deeee383 (diff)
Add libdeno.builtinModules (#1463)
This is needed to support builtin modules like import { open } from "deno"
Diffstat (limited to 'js/libdeno.ts')
-rw-r--r--js/libdeno.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/libdeno.ts b/js/libdeno.ts
index e67a021c7..cbd9a60f0 100644
--- a/js/libdeno.ts
+++ b/js/libdeno.ts
@@ -18,6 +18,8 @@ interface Libdeno {
shared: ArrayBuffer;
+ builtinModules: { [s: string]: object };
+
setGlobalErrorHandler: (
handler: (
message: string,