diff options
Diffstat (limited to 'ext/net/lib.deno_net.d.ts')
-rw-r--r-- | ext/net/lib.deno_net.d.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/net/lib.deno_net.d.ts b/ext/net/lib.deno_net.d.ts index 81c248871..accf01f96 100644 --- a/ext/net/lib.deno_net.d.ts +++ b/ext/net/lib.deno_net.d.ts @@ -52,11 +52,14 @@ declare namespace Deno { closeWrite(): Promise<void>; } + // deno-lint-ignore no-empty-interface + export interface TlsHandshakeInfo {} + export interface TlsConn extends Conn { /** Runs the client or server handshake protocol to completion if that has * not happened yet. Calling this method is optional; the TLS handshake * will be completed automatically as soon as data is sent or received. */ - handshake(): Promise<void>; + handshake(): Promise<TlsHandshakeInfo>; } export interface ListenOptions { |