Skip to content

Commit

Permalink
fix: correct the mail TS exports (#1102)
Browse files Browse the repository at this point in the history
  • Loading branch information
childish-sambino authored Apr 28, 2020
1 parent e2f5e1f commit 98165eb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/mail/src/mail.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,9 @@ declare class MailService {
sendMultiple(data: MailDataRequired, cb?: (error: Error | ResponseError, result: [ClientResponse, {}]) => void): Promise<[ClientResponse, {}]>;
}

declare const mail: MailService & { MailService: typeof MailService };
export = mail
declare const mail: MailService;
// @ts-ignore
export = mail;

export {MailService};
export {MailDataRequired};

0 comments on commit 98165eb

Please sign in to comment.