-
-
Notifications
You must be signed in to change notification settings - Fork 353
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
Typescript error: Property 'forEach' in type 'LRUCache<K, V, FC>' is not assignable to the same property in base type 'Map<K, V>'. #354
Comments
Upgrading to |
Upgrade to latest, and set |
Hi, I am on rimraf 6.0.1 and I still get this issue.
|
This has been fixed for me by downgrading TypeScript v5.6.2 to v5.5.4. |
@LoicPoullain I have also noted several new errors with TS 5.6 - do you have any idea if that's a regression or intentional? |
@marekdedic no idea |
This was fixed on 5ed947d released in lru-cache v11.0.1. If you are in that version, you don't have this bug. Whatever problem you have is a different problem. Please provide details in a new issue. If you are not on that version, upgrade. I do not need a pull request, because it is already fixed and shipped.
This issue is resolved, and should not be an issue reported here in the first place. Please stop. |
The following typescript error currently exists in
lru-cache@10.4.3
which is causing build errors for users of:The text was updated successfully, but these errors were encountered: