summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2021-05-12 21:15:34 +0800
committerGitHub <noreply@github.com>2021-05-12 15:15:34 +0200
commit473c93a90b590204c096062781cd4f71cc58cdfe (patch)
tree73ca3ee9d356c1fbcb865f3fea51d2eece5ba829
parent7211c7cf8f1348a2b4f9177210710a2f44d69158 (diff)
docs(cli/dts): fix worker net permissions example (#10578)
-rw-r--r--cli/dts/lib.deno.unstable.d.ts6
1 files changed, 2 insertions, 4 deletions
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<string | URL>;