This pull request addresses a type error in the index.d.ts file of the keyvfile library. The error was related to the return type of the iterator function in the KeyvStoreAdapter interface.
Details:
Issue: The iterator function's return type in the KeyvStoreAdapter interface was incorrectly specified, leading to type errors during TypeScript compilation.
Fix: The return type of the iterator function has been updated to accurately reflect its behavior. The corrected type now aligns with the actual implementation and correctly specifies the type of values yielded by the iterator.
Changes:
Updated the iterator function return type in index.d.ts to AsyncGenerator<Array<string | Awaited | undefined>>.
Thank you for reviewing this pull request. Since i'm working on a project that uses keyv-file and when i installed it i found this type error.
Description:
This pull request addresses a type error in the index.d.ts file of the keyvfile library. The error was related to the return type of the iterator function in the KeyvStoreAdapter interface.
Details:
Issue: The iterator function's return type in the KeyvStoreAdapter interface was incorrectly specified, leading to type errors during TypeScript compilation. Fix: The return type of the iterator function has been updated to accurately reflect its behavior. The corrected type now aligns with the actual implementation and correctly specifies the type of values yielded by the iterator.
Changes:
Updated the iterator function return type in index.d.ts to AsyncGenerator<Array<string | Awaited | undefined>>.
Thank you for reviewing this pull request. Since i'm working on a project that uses keyv-file and when i installed it i found this type error.