mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-23 12:57:25 +08:00
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:
6
sendgrid/sendgrid.d.ts
vendored
6
sendgrid/sendgrid.d.ts
vendored
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user