From 1d3f734e1815bf1649e0cac445be9eacb4cd296d Mon Sep 17 00:00:00 2001 From: Yury Selivanov Date: Fri, 26 Nov 2021 10:59:53 -0800 Subject: feat(ext/net): ALPN support in `Deno.connectTls()` (#12786) --- ext/net/lib.deno_net.d.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ext/net/lib.deno_net.d.ts') 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; } + // 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; + handshake(): Promise; } export interface ListenOptions { -- cgit v1.2.3