summaryrefslogtreecommitdiff
path: root/cli/dts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-03-24 11:27:24 -0400
committerGitHub <noreply@github.com>2022-03-24 16:27:24 +0100
commiteb4daafc51a2a9f4fba9702b9afcda5bbab4e6bd (patch)
tree7932e734ba0201ce74c553dfabf4b48b59f6bd0c /cli/dts
parent6516130b0138ef382a0588f983287fb463222086 (diff)
docs: `WorkerOptions` - fix permissions description (#14011)
Diffstat (limited to 'cli/dts')
-rw-r--r--cli/dts/lib.deno.unstable.d.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts
index b3bbef030..564a7a073 100644
--- a/cli/dts/lib.deno.unstable.d.ts
+++ b/cli/dts/lib.deno.unstable.d.ts
@@ -1376,11 +1376,11 @@ declare interface WorkerOptions {
* Set deno.namespace to `true` to make `Deno` namespace and all of its
* methods available to the worker environment. Defaults to `false`.
*
- * Configure deno.permissions options to change the level of access the worker will
- * have. By default it will inherit the permissions of its parent thread. The permissions
+ * Configure permissions options to change the level of access the worker will
+ * have. By default it will have no permissions. Note that the permissions
* of a worker can't be extended beyond its parent's permissions reach.
* - "inherit" will take the permissions of the thread the worker is created in
- * - You can disable/enable permissions all together by passing a boolean
+ * - "none" will use the default behavior and have no permission
* - You can provide a list of routes relative to the file the worker
* is created in to limit the access of the worker (read/write permissions only)
*