diff options
author | Roj <rojserbest@gmail.com> | 2022-06-11 20:06:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-11 13:06:58 -0400 |
commit | 41075b153aa537c8e09acacf30d5aead6d6516ef (patch) | |
tree | d6af07ca1b57353d9537bba8c609877826c18368 | |
parent | 3dd981e199a66b09af072d550514ed2fe300df63 (diff) |
chore(docs): remove senseless `await` (#14844)
-rw-r--r-- | cli/dts/lib.deno.ns.d.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/dts/lib.deno.ns.d.ts b/cli/dts/lib.deno.ns.d.ts index 660ff22b4..9ef1370ec 100644 --- a/cli/dts/lib.deno.ns.d.ts +++ b/cli/dts/lib.deno.ns.d.ts @@ -2853,7 +2853,7 @@ declare namespace Deno { * Services HTTP requests given a TCP or TLS socket. * * ```ts - * const conn = await Deno.listen({ port: 80 }); + * const conn = Deno.listen({ port: 80 }); * const httpConn = Deno.serveHttp(await conn.accept()); * const e = await httpConn.nextRequest(); * if (e) { @@ -2905,7 +2905,7 @@ declare namespace Deno { * upgrade to be successful. * * ```ts - * const conn = await Deno.listen({ port: 80 }); + * const conn = Deno.listen({ port: 80 }); * const httpConn = Deno.serveHttp(await conn.accept()); * const e = await httpConn.nextRequest(); * if (e) { |