-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TS error when using QuickLRU from readme example #51
Comments
What version of the libraries are you using? cacheable-lookup, quick-lru and typescript |
Good catch! Line 11 in 45b18da
set(hostname: string, entries: EntryObject[], ttl: number): TPromise<void | boolean | this>;
+ set(hostname: string, entries: EntryObject[]): TPromise<void | boolean | this>; I think this should work. Not tested yet. |
ok downgrade to v5 of both fixed the issue and is compatible with got v11 |
i'm using 7.0.0 but it now fixed and 5.0.4 does not work. |
This issue still exists for 7.0.0 of both packages |
Yeah just to confirm; i'm using the latest version of So it seems to be that
As you can see, quick-lru looks to be expecting an object with |
The text was updated successfully, but these errors were encountered: