summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/net/lib.deno_net.d.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/net/lib.deno_net.d.ts b/ext/net/lib.deno_net.d.ts
index f036bcd39..13fbd3514 100644
--- a/ext/net/lib.deno_net.d.ts
+++ b/ext/net/lib.deno_net.d.ts
@@ -135,7 +135,10 @@ declare namespace Deno {
/** @category Network */
export interface ListenOptions {
- /** The port to listen on. */
+ /** The port to listen on.
+ *
+ * Set to `0` to listen on any available port.
+ */
port: number;
/** A literal IP address or host name that can be resolved to an IP address.
*