diff options
author | John Gardner <gardnerjohng@gmail.com> | 2020-06-11 13:00:29 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-10 23:00:29 -0400 |
commit | ca5b5ba530eccd1a4ed34bc475250daae489190a (patch) | |
tree | daf31cb89b47943707ca0590174a4fd4750f006c /cli/js/lib.deno.unstable.d.ts | |
parent | a1b37f177be848ce3c3248b6b835f8999e36afff (diff) |
feat: Add Deno.mainModule (#6180)
Diffstat (limited to 'cli/js/lib.deno.unstable.d.ts')
-rw-r--r-- | cli/js/lib.deno.unstable.d.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/js/lib.deno.unstable.d.ts b/cli/js/lib.deno.unstable.d.ts index aebd7f964..dc50416fc 100644 --- a/cli/js/lib.deno.unstable.d.ts +++ b/cli/js/lib.deno.unstable.d.ts @@ -1245,4 +1245,7 @@ declare namespace Deno { * Requires `allow-env` permission. */ export function hostname(): string; + + /** **UNSTABLE**: The URL of the file that was originally executed from the command-line. */ + export const mainModule: string; } |