Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkingserious committed Sep 27, 2016
2 parents 9f15a72 + 34b0f1c commit 0bca9d6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -467,6 +469,5 @@ declare namespace SendGrid {
}
}

declare const mail: SendGrid.Helpers.Mail.Helper;
declare const sendGrid: SendGrid.SendGridConstructor;
export {mail, sendGrid as SendGrid};
export = sendGrid;

0 comments on commit 0bca9d6

Please sign in to comment.