From 473c93a90b590204c096062781cd4f71cc58cdfe Mon Sep 17 00:00:00 2001 From: Casper Beyer Date: Wed, 12 May 2021 21:15:34 +0800 Subject: docs(cli/dts): fix worker net permissions example (#10578) --- cli/dts/lib.deno.unstable.d.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'cli') diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts index 898f06f37..f13b55aba 100644 --- a/cli/dts/lib.deno.unstable.d.ts +++ b/cli/dts/lib.deno.unstable.d.ts @@ -1378,10 +1378,8 @@ declare interface WorkerOptions { /** The format of the net access list must be `hostname[:port]` * in order to be resolved. * - * ``` - * net: ["https://deno.land", "localhost:8080"], - * ``` - * */ + * For example: `["https://deno.land", "localhost:8080"]`. + */ net?: "inherit" | boolean | string[]; plugin?: "inherit" | boolean; read?: "inherit" | boolean | Array; -- cgit v1.2.3