From a8f2edfe600f65ca4a27722dc28bc13284d9e2ed Mon Sep 17 00:00:00 2001 From: Ostad Date: Mon, 1 Apr 2019 09:34:10 -0400 Subject: [PATCH] -added more properties on attachment object --- types/sendmail/index.d.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/types/sendmail/index.d.ts b/types/sendmail/index.d.ts index 1bab6d27b6..d9b310c5de 100644 --- a/types/sendmail/index.d.ts +++ b/types/sendmail/index.d.ts @@ -46,9 +46,12 @@ declare namespace sendMailFactory { content?: string; html?: string; attachments?: Array<{ - type: string; + type?: string; filename: string; - content: any; + content?: any; + path?: string; + contentType?: string; + encoding?: string; }>; } }