summaryrefslogtreecommitdiff
path: root/cli/dts/lib.deno.unstable.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/dts/lib.deno.unstable.d.ts')
-rw-r--r--cli/dts/lib.deno.unstable.d.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts
index ccb5ae2cd..64efa0a2f 100644
--- a/cli/dts/lib.deno.unstable.d.ts
+++ b/cli/dts/lib.deno.unstable.d.ts
@@ -1041,7 +1041,7 @@ declare namespace Deno {
* });
* ```
*/
- net?: "inherit" | boolean | Array<string | URL>;
+ net?: "inherit" | boolean | string[];
/** Specifies if the `plugin` permission should be requested or revoked.
* If set to `"inherit"`, the current `plugin` permission will be inherited.
@@ -1136,7 +1136,7 @@ declare interface WorkerOptions {
*
* For example: `["https://deno.land", "localhost:8080"]`.
*/
- net?: "inherit" | boolean | Array<string | URL>;
+ net?: "inherit" | boolean | string[];
plugin?: "inherit" | boolean;
read?: "inherit" | boolean | Array<string | URL>;
run?: "inherit" | boolean | Array<string | URL>;