From c05615d6707a6270113a514888e828e536ea2c35 Mon Sep 17 00:00:00 2001 From: Andrew Mitchell <32021055+mitch292@users.noreply.github.com> Date: Sat, 12 Dec 2020 07:15:50 -0500 Subject: [PATCH] docs: Remove a deprecated function from docstring for Deno.permissions (#8729) --- cli/dts/lib.deno.unstable.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts index d8e226699c..f9ef1fb2fc 100644 --- a/cli/dts/lib.deno.unstable.d.ts +++ b/cli/dts/lib.deno.unstable.d.ts @@ -1143,7 +1143,7 @@ declare namespace Deno { * ```ts * const status = await Deno.permissions.request({ name: "env" }); * if (status.state === "granted") { - * console.log(Deno.dir("home")); + * console.log("'env' permission is granted."); * } else { * console.log("'env' permission is denied."); * }