Skip to content

Commit 4949044

Browse files
Corrected signature of GmailDomEmail.to() method #793 (#794)
1 parent 82c299a commit 4949044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gmail.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ interface GmailDomEmail {
458458
Optionally receives an array of these objects if multiple recipients
459459
Returns an array of objects containing email & name of who is showing in the DOM as the email is to
460460
*/
461-
to(to_array: GmailDomEmailEntry | GmailDomEmailEntry[]): GmailDomEmailEntry[];
461+
to(to_array?: GmailDomEmailEntry | GmailDomEmailEntry[]): GmailDomEmailEntry[];
462462
/**
463463
Retries the DOM elements which represents the emails attachments
464464
Returns undefined if UI-elements are not yet ready for parsing.

0 commit comments

Comments
 (0)