Skip to content

Commit

Permalink
resolve Deno.startTls type check breaking change from deno 1.42.2 (fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcLoupias committed May 15, 2024
1 parent 6bde56f commit 713183e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/basic/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ export class SMTPClient {

await this.#connection.cleanupForStartTLS();

const conn = await Deno.startTls(this.#connection.conn, {
const conn = await Deno.startTls(this.#connection.conn as Deno.TcpConn, {
hostname: this.config.connection.hostname,
});
this.#connection = new SMTPConnection(conn, this.config);
Expand Down

0 comments on commit 713183e

Please sign in to comment.