We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I tried using this package (v ^4.0.1) but get runtime errors when using it from typescript:
import QuickLRU = require("quick-lru"); ... const userCache = new QuickLRU< string, { data: UserEntities.User | undefined; maxAge: number } >({ maxSize: 300 }); TypeError: QuickLRU is not a constructor
The text was updated successfully, but these errors were encountered:
It works fine in the type tests:
quick-lru/index.test-d.ts
Line 2 in 16d15d4
Sorry, something went wrong.
No branches or pull requests
I tried using this package (v ^4.0.1) but get runtime errors when using it from typescript:
The text was updated successfully, but these errors were encountered: