Merge pull request #3307 from MrHen/bug/3288

Add nodemailer module declaration (Issue #3288)
This commit is contained in:
Masahiro Wakame
2014-12-12 19:08:55 +09:00
+5
View File
@@ -104,3 +104,8 @@ interface Nodemailer {
createTransport(type: string, path: string): Transport;
createXOAuthGenerator(options: XOAuthGeneratorOptions): XOAuthGenerator;
}
declare module "nodemailer" {
var nodemailer: Nodemailer;
export = nodemailer;
}