Add libdeno.builtinModules (#1463)

This is needed to support builtin modules like

    import { open } from "deno"
This commit is contained in:
Ryan Dahl 2019-01-06 16:32:21 -05:00 committed by GitHub
parent f37d67e809
commit 1b7938e3aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 100 additions and 3 deletions

View file

@ -18,6 +18,8 @@ interface Libdeno {
shared: ArrayBuffer;
builtinModules: { [s: string]: object };
setGlobalErrorHandler: (
handler: (
message: string,