From 84b1acf8baf34d8651b4d0e871072b40f321737f Mon Sep 17 00:00:00 2001 From: Aleksandr Bukhalo Date: Fri, 25 Mar 2022 14:30:20 +0300 Subject: [PATCH] docs(cli): fix typo in `PermissionOptionsObject` (#14114) --- cli/dts/lib.deno.ns.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/dts/lib.deno.ns.d.ts b/cli/dts/lib.deno.ns.d.ts index 99ce225f13..02f5146735 100644 --- a/cli/dts/lib.deno.ns.d.ts +++ b/cli/dts/lib.deno.ns.d.ts @@ -117,10 +117,10 @@ declare namespace Deno { export type PermissionOptions = "inherit" | "none" | PermissionOptionsObject; export interface PermissionOptionsObject { - /** Specifies if the `net` permission should be requested or revoked. + /** Specifies if the `env` permission should be requested or revoked. * If set to `"inherit"`, the current `env` permission will be inherited. - * If set to `true`, the global `net` permission will be requested. - * If set to `false`, the global `net` permission will be revoked. + * If set to `true`, the global `env` permission will be requested. + * If set to `false`, the global `env` permission will be revoked. * * Defaults to `false`. */