From c653a8b1cdcb2f2ef8d799306486cf6b9ef6d331 Mon Sep 17 00:00:00 2001 From: Bas Schouten <96421814+BasSchoutenTribe@users.noreply.github.com> Date: Wed, 21 Aug 2024 15:18:10 +0200 Subject: [PATCH] Corrected signature of GmailDomEmail.to() method #793 --- src/gmail.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gmail.d.ts b/src/gmail.d.ts index d3b7ecb4..228fbd27 100644 --- a/src/gmail.d.ts +++ b/src/gmail.d.ts @@ -458,7 +458,7 @@ interface GmailDomEmail { Optionally receives an array of these objects if multiple recipients Returns an array of objects containing email & name of who is showing in the DOM as the email is to */ - to(to_array: GmailDomEmailEntry | GmailDomEmailEntry[]): GmailDomEmailEntry[]; + to(to_array?: GmailDomEmailEntry | GmailDomEmailEntry[]): GmailDomEmailEntry[]; /** Retries the DOM elements which represents the emails attachments Returns undefined if UI-elements are not yet ready for parsing.