1
0
Fork 0
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:
Aleksandr Bukhalo 2022-03-25 14:30:20 +03:00 committed by GitHub
parent 25b73a366f
commit 84b1acf8ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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`.
*/