From 52c1017a74059655f9424f7ceb3f0c74dcc7f3be Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Mon, 10 Aug 2020 21:41:51 +0100 Subject: feat: Stabilize Deno.mainModule (#6993) --- cli/dts/lib.deno.ns.d.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cli/dts/lib.deno.ns.d.ts') diff --git a/cli/dts/lib.deno.ns.d.ts b/cli/dts/lib.deno.ns.d.ts index f551ea361..5cb0f432b 100644 --- a/cli/dts/lib.deno.ns.d.ts +++ b/cli/dts/lib.deno.ns.d.ts @@ -2025,4 +2025,7 @@ declare namespace Deno { * called when `Deno.inspect()` is called, or when the object is logged to * the console. */ export const customInspect: unique symbol; + + /** The URL of the entrypoint module entered from the command-line. */ + export const mainModule: string; } -- cgit v1.2.3