mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
re-format nodemailer-pickup-transport
This commit is contained in:
1 parent
7bcebe7bd4
commit
4daf6fc533
2 files changed
+4
-11
No files matched your search
@@ -20,5 +20,5 @@ var mailOptions: nodemailer.SendMailOptions = {
|
||||
html: '<b>Hello world ✔</b>' // html body
|
||||
};
|
||||
transporter.sendMail(mailOptions, (error: Error, info: nodemailer.SentMessageInfo): void => {
|
||||
// nothing
|
||||
// nothing
|
||||
});
|
||||
@@ -3,24 +3,17 @@
|
||||
// Definitions by: Peter Snider <https://github.com/psnider/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
|
||||
/// <reference path="../nodemailer/nodemailer-types.d.ts" />
|
||||
|
||||
declare module "nodemailer-pickup-transport" {
|
||||
|
||||
module PickupTransport {
|
||||
|
||||
module PickupTransport {
|
||||
export interface Options {
|
||||
directory: string;
|
||||
directory: string;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
function PickupTransport(options: PickupTransport.Options): nodemailer.Transport;
|
||||
|
||||
|
||||
function PickupTransport(options: PickupTransport.Options): nodemailer.Transport;
|
||||
export = PickupTransport;
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user