summaryrefslogtreecommitdiff
path: root/cli/dts/lib.deno.ns.d.ts
diff options
context:
space:
mode:
authorLeo K <crowlkats@toaxl.com>2021-08-06 15:04:00 +0200
committerGitHub <noreply@github.com>2021-08-06 15:04:00 +0200
commit15b0e61de523c1a0157e754379f0ec7decf0c23e (patch)
tree4d3aed3e1b80dbe38e70dad363c64532656c7e5a /cli/dts/lib.deno.ns.d.ts
parentb6b71c3d590722117db04fda7362d3b23245c3c3 (diff)
feat(runtime): allow URL for permissions (#11578)
Diffstat (limited to 'cli/dts/lib.deno.ns.d.ts')
-rw-r--r--cli/dts/lib.deno.ns.d.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/dts/lib.deno.ns.d.ts b/cli/dts/lib.deno.ns.d.ts
index e1aff59fc..b0c56591b 100644
--- a/cli/dts/lib.deno.ns.d.ts
+++ b/cli/dts/lib.deno.ns.d.ts
@@ -2133,17 +2133,17 @@ declare namespace Deno {
export interface RunPermissionDescriptor {
name: "run";
- command?: string;
+ command?: string | URL;
}
export interface ReadPermissionDescriptor {
name: "read";
- path?: string;
+ path?: string | URL;
}
export interface WritePermissionDescriptor {
name: "write";
- path?: string;
+ path?: string | URL;
}
export interface NetPermissionDescriptor {
@@ -2153,7 +2153,7 @@ declare namespace Deno {
* "github.com"
* "deno.land:8080"
*/
- host?: string;
+ host?: string | URL;
}
export interface EnvPermissionDescriptor {