Skip to content

Commit f5006bf

Browse files
authored
🤖 Merge PR DefinitelyTyped#72553 (Feat)@types/imapflow Added docs, missing functions and changed some parameters to optional by @adamakiva
1 parent 5f828e9 commit f5006bf

File tree

2 files changed

+982
-64
lines changed

2 files changed

+982
-64
lines changed

‎types/imapflow/imapflow-tests.ts‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,14 @@ client.mailboxDelete("INBOX.example");
4242
// $Expect Promise<StatusObject>
4343
client.status("INBOX", { uidNext: true });
4444

45+
// $Expect Promise<FetchMessageObject[]>
4546
client.fetchAll("1:*", { uid: true });
47+
48+
// $Expect Promise<{ [key: string]: DownloadObject }>
49+
client.downloadMany("*", ["1", "1.1"]);
50+
51+
// $Expect Promise<QuotaResponse | boolean>
52+
client.getQuota("INBOX");
53+
54+
// $Expect Promise<boolean>
55+
client.setFlagColor("*", "red");

0 commit comments

Comments
 (0)