Skip to content

Commit

Permalink
fix(): add interface 'attachment like object' #104
Browse files Browse the repository at this point in the history
  • Loading branch information
juandav committed Mar 30, 2020
1 parent 9416fcf commit 30de1f6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/interfaces/send-mail-options.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,18 @@ export interface Address {
address: string;
}

export interface AttachmentLikeObject {
path: string;
}

export interface ISendMailOptions extends SendMailOptions {
to?: string | Address | Array<string | Address>;
cc?: string | Address | Array<string | Address>;
replyTo?: string | Address;
inReplyTo?: string | Address;
from?: string | Address;
subject?: string;
text?: string | Buffer;
text?: string | Buffer | AttachmentLikeObject;
html?: string | Buffer;
sender?: string | Address;
raw?: string | Buffer;
Expand Down

0 comments on commit 30de1f6

Please sign in to comment.