diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2020-05-09 12:44:35 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-09 12:44:35 -0400 |
| commit | b8364a263694e9845a4ad03fac53fb913667f63a (patch) | |
| tree | e81795bf787aa7c934ab3f3ca509dea8cb5658fc /cli/js/lib.deno.ns.d.ts | |
| parent | eb505f8afcd56f4d4a372cdfbb66906d8a5107c7 (diff) | |
BREAKING: make Deno.hostname unstable (#5108)
Diffstat (limited to 'cli/js/lib.deno.ns.d.ts')
| -rw-r--r-- | cli/js/lib.deno.ns.d.ts | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/cli/js/lib.deno.ns.d.ts b/cli/js/lib.deno.ns.d.ts index 1eeb86307..8c91f145e 100644 --- a/cli/js/lib.deno.ns.d.ts +++ b/cli/js/lib.deno.ns.d.ts @@ -97,14 +97,6 @@ declare namespace Deno { * */ export function test(name: string, fn: () => void | Promise<void>): void; - /** Get the `hostname` of the machine the Deno process is running on. - * - * console.log(Deno.hostname()); - * - * Requires `allow-env` permission. - */ - export function hostname(): string; - /** Exit the Deno process with optional exit code. If no exit code is supplied * then Deno will exit with return code of 0. * |
