mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
docs(cli): fix typo in PermissionOptionsObject
(#14114)
This commit is contained in:
parent
25b73a366f
commit
84b1acf8ba
1 changed files with 3 additions and 3 deletions
6
cli/dts/lib.deno.ns.d.ts
vendored
6
cli/dts/lib.deno.ns.d.ts
vendored
|
@ -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`.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue