Closed paulsmithkc closed 2 months ago
Upgrading to rimraf@6.0.1
seems to resolve this issue.
Upgrade to latest, and set skipLibCheck: true
in your tsconfig.
Hi, I am on rimraf 6.0.1 and I still get this issue.
skipLibCheck
is an escape hatch to make things work with incorrect and/or incompatible typings. I'd prefer to fix the typings here instead. Happy to send a PR.
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 https://github.com/isaacs/node-lru-cache/commit/5ed947ddc8a26b5f2727f9c66f0ef835a9ede0db 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.
skipLibCheck: true
is recommended by the typescript team officially. It is an "escape hatch" for a mistake in the design of the language.
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: