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.
This commit is contained in:
João Cristóvão
2016-12-08 20:04:38 +00:00
committed by Andy
parent edf6a02bef
commit 09a4a1fd33

View File

@@ -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 };