diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-01-23 13:02:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-23 17:32:25 +0530 |
commit | 01b6e38bafb4c60a281ba7e854a06a1e8b554bb7 (patch) | |
tree | 9e58553412fa06ef2f2cdbbdc87e6546094574ae /cli/tsc | |
parent | 052fd786906eef7d1583030a1370cf2f2be1907d (diff) |
feat: Stabilize Deno.listen for 'unix' transport (#21938)
Diffstat (limited to 'cli/tsc')
-rw-r--r-- | cli/tsc/dts/lib.deno.unstable.d.ts | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/cli/tsc/dts/lib.deno.unstable.d.ts b/cli/tsc/dts/lib.deno.unstable.d.ts index 870cb2e1a..9cbfe2bfa 100644 --- a/cli/tsc/dts/lib.deno.unstable.d.ts +++ b/cli/tsc/dts/lib.deno.unstable.d.ts @@ -1060,18 +1060,6 @@ declare namespace Deno { /** **UNSTABLE**: New API, yet to be vetted. * - * Unstable options which can be set when opening a Unix listener via - * {@linkcode Deno.listen} or {@linkcode Deno.listenDatagram}. - * - * @category Network - */ - export interface UnixListenOptions { - /** A path to the Unix Socket. */ - path: string; - } - - /** **UNSTABLE**: New API, yet to be vetted. - * * Unstable options which can be set when opening a datagram listener via * {@linkcode Deno.listenDatagram}. * @@ -1096,23 +1084,6 @@ declare namespace Deno { * Listen announces on the local transport address. * * ```ts - * const listener = Deno.listen({ path: "/foo/bar.sock", transport: "unix" }) - * ``` - * - * Requires `allow-read` and `allow-write` permission. - * - * @tags allow-read, allow-write - * @category Network - */ - export function listen( - options: UnixListenOptions & { transport: "unix" }, - ): Listener; - - /** **UNSTABLE**: New API, yet to be vetted. - * - * Listen announces on the local transport address. - * - * ```ts * const listener1 = Deno.listenDatagram({ * port: 80, * transport: "udp" |