mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
Add callback version of transporter.verify
This commit is contained in:
Vendored
+5
@@ -50,6 +50,11 @@ declare module "nodemailer" {
|
||||
/**
|
||||
* Verifies connection with server
|
||||
*/
|
||||
verify(callback: (error: Error, success?: boolean) => void): void;
|
||||
|
||||
/**
|
||||
* Verifies connection with server
|
||||
*/
|
||||
verify(): Promise<void>;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user