mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
re-format nodemailer-pickup-transport
This commit is contained in:
@@ -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