summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElmer Thomas <elmer@thinkingserious.com>2016-09-27 10:47:41 -0700
committerElmer Thomas <elmer@thinkingserious.com>2016-09-27 10:47:41 -0700
commit0bca9d657f954a5422ea2c28f1040a407b9da75f (patch)
treed7cbff6058611c43380fc7f11b1849fe43012054
parent9f15a728e2b5fa2136186687f8213f154c84baa2 (diff)
parent34b0f1c69bdf9cf56759b5595162f2e3b2bce285 (diff)
downloadsendgrid-nodejs-0bca9d657f954a5422ea2c28f1040a407b9da75f.zip
sendgrid-nodejs-0bca9d657f954a5422ea2c28f1040a407b9da75f.tar.gz
sendgrid-nodejs-0bca9d657f954a5422ea2c28f1040a407b9da75f.tar.bz2
Merge branch 'master' of https://github.com/sendgrid/sendgrid-nodejsv4.3.1
-rw-r--r--index.d.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/index.d.ts b/index.d.ts
index f1561af..b7a39fc 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -456,6 +456,8 @@ declare namespace SendGrid {
export interface SendGridConstructor {
(apiKey: string, host?: string, globalHeaders?: { [header: string]: string; }): SendGrid;
constructor(apiKey: string, host?: string, globalHeaders?: { [header: string]: string; }): SendGrid;
+
+ mail: SendGrid.Helpers.Mail.Helper;
}
export class SendGrid {
@@ -467,6 +469,5 @@ declare namespace SendGrid {
}
}
-declare const mail: SendGrid.Helpers.Mail.Helper;
declare const sendGrid: SendGrid.SendGridConstructor;
-export {mail, sendGrid as SendGrid}; \ No newline at end of file
+export = sendGrid;