summaryrefslogtreecommitdiff
path: root/cli/js/lib.deno.unstable.d.ts
diff options
context:
space:
mode:
authorValentin Anger <syrupthinker@gryphno.de>2020-05-24 15:43:40 +0200
committerGitHub <noreply@github.com>2020-05-24 09:43:40 -0400
commitb7f0b073bb7585ea932a5783ff4ea88843a46b1b (patch)
treee81848f02fadb45f262a609d66380bcdd5ce5256 /cli/js/lib.deno.unstable.d.ts
parentf6e31603563bad38c663494ddec6a363989b5786 (diff)
Add unstable checks for unix transport (#5818)
Also remove the unix example from the stable documentation to stay in line with the `Deno.listen` one
Diffstat (limited to 'cli/js/lib.deno.unstable.d.ts')
-rw-r--r--cli/js/lib.deno.unstable.d.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/js/lib.deno.unstable.d.ts b/cli/js/lib.deno.unstable.d.ts
index 9bb4cfb90..86bdd7b12 100644
--- a/cli/js/lib.deno.unstable.d.ts
+++ b/cli/js/lib.deno.unstable.d.ts
@@ -1067,7 +1067,7 @@ declare namespace Deno {
* const conn5 = await Deno.connect({ path: "/foo/bar.sock", transport: "unix" });
* ```
*
- * Requires `allow-net` permission for "tcp" and `allow-read` for unix. */
+ * Requires `allow-net` permission for "tcp" and `allow-read` for "unix". */
export function connect(
options: ConnectOptions | UnixConnectOptions
): Promise<Conn>;