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:
parent
7211c7cf8f
commit
473c93a90b
1 changed files with 2 additions and 4 deletions
6
cli/dts/lib.deno.unstable.d.ts
vendored
6
cli/dts/lib.deno.unstable.d.ts
vendored
|
@ -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>;
|
||||
|
|
Loading…
Reference in a new issue