mirror of https://github.com/eleith/emailjs.git
smtp/client: fix last type error in bundle
This commit is contained in:
parent
f385fe735c
commit
d3c48660f0
|
@ -74,7 +74,7 @@ export class SMTPClient {
|
|||
*/
|
||||
public sendAsync<T extends Message | MessageHeaders>(msg: T) {
|
||||
return new Promise<Message>((resolve, reject) => {
|
||||
this.send(msg, (err, message) => {
|
||||
this.send(msg, (err, /** @type {any} */ message) => {
|
||||
if (err != null) {
|
||||
reject(err);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue