feat(net): add Deno.UnixConn interface (#13787)

This commit is contained in:
Bartek Iwańczuk 2022-03-04 20:33:13 +01:00 committed by GitHub
parent d1db500cda
commit 060dabee4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 11 deletions

View file

@ -160,6 +160,9 @@ declare namespace Deno {
setKeepAlive(keepalive?: boolean): void;
}
// deno-lint-ignore no-empty-interface
export interface UnixConn extends Conn {}
export interface ConnectTlsOptions {
/** The port to connect to. */
port: number;