Closed jeremymeng closed 3 months ago
This project builds fine, as you say. Use skipLibCheck: true
and don't worry about what your libs are doing. It's fine.
A ~more~ differently focussed workaround, until lru-cache
supports 5.6, is to disable the new strictBuiltinIteratorReturn
option introduced in https://github.com/microsoft/TypeScript/pull/58243
typescript 5.5.4 works fine, but 5.6.0-beta gives the following error. Repro project: https://github.com/jeremymeng/lru-cache-ts-5.6.0-beta. .