0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-29 08:58:01 -04:00

docs(cli/dts): fix worker net permissions example (#10578)

This commit is contained in:
Casper Beyer 2021-05-12 21:15:34 +08:00 committed by GitHub
parent 7211c7cf8f
commit 473c93a90b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>;