diff --git a/types/mailgun-js/index.d.ts b/types/mailgun-js/index.d.ts index 32af61b68c..a9ea40bc93 100644 --- a/types/mailgun-js/index.d.ts +++ b/types/mailgun-js/index.d.ts @@ -66,8 +66,8 @@ declare namespace Mailgun { subject?: string; text?: string; html?: string; - attachment?: AttachmentData | AttachmentData[]; - inline?: AttachmentData | AttachmentData[]; + attachment?: AttachmentData | ReadonlyArray; + inline?: AttachmentData | ReadonlyArray; } interface BatchData extends SendData {