From 09a4a1fd33a82937653c656a5736bca402017c35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Crist=C3=B3v=C3=A3o?= Date: Thu, 8 Dec 2016 20:04:38 +0000 Subject: [PATCH] Missing cc in sendgrid packate (#13063) The sendgrid package was missing the `cc` field, and the `bcc` field had a too generic type (`any` instead of `string[]`, as used on the `setCcs` and `setBccs` below. --- sendgrid/sendgrid.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sendgrid/sendgrid.d.ts b/sendgrid/sendgrid.d.ts index b61db7162e..07bc99a933 100644 --- a/sendgrid/sendgrid.d.ts +++ b/sendgrid/sendgrid.d.ts @@ -49,7 +49,8 @@ declare namespace Sendgrid { subject?: string; text?: string; html?: string; - bcc?: any; + cc?: string[]; + bcc?: string[]; replyto?: string; date?: Date; headers?: { [key: string]: string }; @@ -65,7 +66,8 @@ declare namespace Sendgrid { subject: string; text: string; html: string; - bcc: any; + cc: string[]; + bcc: string[]; replyto: string; date: Date; headers: { [key: string]: string };