diff options
Diffstat (limited to 'cli/dts/lib.deno.unstable.d.ts')
-rw-r--r-- | cli/dts/lib.deno.unstable.d.ts | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts index 8175e8dd9..e3def724c 100644 --- a/cli/dts/lib.deno.unstable.d.ts +++ b/cli/dts/lib.deno.unstable.d.ts @@ -1203,20 +1203,7 @@ declare interface WorkerOptions { deno?: boolean | { namespace?: boolean; /** Set to `"none"` to disable all the permissions in the worker. */ - permissions?: "inherit" | "none" | { - env?: "inherit" | boolean | string[]; - hrtime?: "inherit" | boolean; - /** The format of the net access list must be `hostname[:port]` - * in order to be resolved. - * - * For example: `["https://deno.land", "localhost:8080"]`. - */ - net?: "inherit" | boolean | string[]; - ffi?: "inherit" | boolean | Array<string | URL>; - read?: "inherit" | boolean | Array<string | URL>; - run?: "inherit" | boolean | Array<string | URL>; - write?: "inherit" | boolean | Array<string | URL>; - }; + permissions?: Deno.PermissionOptions; }; } |