summaryrefslogtreecommitdiff
path: root/cli/dts/lib.deno.ns.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/dts/lib.deno.ns.d.ts')
-rw-r--r--cli/dts/lib.deno.ns.d.ts4
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 8026d934a..f8ec0c7f3 100644
--- a/cli/dts/lib.deno.ns.d.ts
+++ b/cli/dts/lib.deno.ns.d.ts
@@ -1710,9 +1710,9 @@ declare namespace Deno {
readonly remoteAddr: Addr;
/** The resource ID of the connection. */
readonly rid: number;
- /** Shuts down (`shutdown(2)`) the writing side of the TCP connection. Most
+ /** Shuts down (`shutdown(2)`) the write side of the connection. Most
* callers should just use `close()`. */
- closeWrite(): void;
+ closeWrite(): Promise<void>;
}
export interface ListenOptions {