Issue with Typescript typings
I recently noticed a bug about the typings of this library. Initially I thought that it was a typscript-eslint related bug, but apparently the typings in here are not completely correct. I did report the bug over there, and a maintainer there looked at the issue and identified the problem to be specifically with this library.
Here's my bug report with a reproduction case as well as their detailed analysis: https://github.com/typescript-eslint/typescript-eslint/issues/6661#event-8782244206
I hope that is enough information to solve this issue.