Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch @types/[email protected] for the project I'm working on.
chunksize option is missing based on documentation:
https://imapflow.com/module-imapflow-ImapFlow.html#connect-examples
Here is the diff that solved my problem:
diff --git a/node_modules/@types/imapflow/index.d.ts b/node_modules/@types/imapflow/index.d.ts
index d4c0efe..a0ed375 100755
--- a/node_modules/@types/imapflow/index.d.ts
+++ b/node_modules/@types/imapflow/index.d.ts
@@ -36,7 +36,7 @@ export class ImapFlow extends EventEmitter {
download(
range: SequenceString,
part?: string,
- options?: { uid?: boolean; maxBytes?: number },
+ options?: { uid?: boolean; maxBytes?: number, chunkSize?: number },
): Promise<DownloadObject>;
getMailboxLock(path: string, options?: null | { readonly?: boolean }): Promise<MailboxLockObject>;
This issue body was partially generated by patch-package.
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
@types/[email protected]for the project I'm working on.chunksize option is missing based on documentation:
https://imapflow.com/module-imapflow-ImapFlow.html#connect-examples
Here is the diff that solved my problem:
This issue body was partially generated by patch-package.