mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 04:51:22 +00:00
docs(cli): fix typo in PermissionOptionsObject
(#14114)
This commit is contained in:
parent
25b73a366f
commit
84b1acf8ba
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 New Issue
Block a user