mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
docs(ext/net): explain port: 0
behavior (#24475)
This commit is contained in:
parent
c3b168f5a2
commit
77c5a336ad
2 changed files with 6 additions and 1 deletions
2
cli/tsc/dts/lib.deno.ns.d.ts
vendored
2
cli/tsc/dts/lib.deno.ns.d.ts
vendored
|
@ -6257,6 +6257,8 @@ declare namespace Deno {
|
|||
*/
|
||||
export interface ServeOptions {
|
||||
/** The port to listen on.
|
||||
*
|
||||
* Set to `0` to listen on any available port.
|
||||
*
|
||||
* @default {8000} */
|
||||
port?: number;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue