mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Add nodemailer module declaration
This commit is contained in:
committed by
Jason Tremper
parent
6ace0b8dcd
commit
e23c3329fd
Vendored
+5
@@ -104,3 +104,8 @@ interface Nodemailer {
|
||||
createTransport(type: string, path: string): Transport;
|
||||
createXOAuthGenerator(options: XOAuthGeneratorOptions): XOAuthGenerator;
|
||||
}
|
||||
|
||||
declare module "nodemailer" {
|
||||
var nodemailer: Nodemailer;
|
||||
export = nodemailer;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user