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
QuickLRU
cache
The cache documentation states that QuickLRU could be used as a cache for got but instead it throws following TypeScript Error:
got
Documentation is up-to-date or typings are fixed
import QuickLRU from 'quick-lru'; import got from 'got'; const cache = new QuickLRU({maxSize: 1000}) await got('https://sindresorhus.com', {cache});
tsconfig.json
{ "compilerOptions": { "module": "nodenext", "moduleResolution": "nodenext", "types": [] }, "files": [], "include": [ "index.ts" ], "exclude": [ "node_modules", "build" ], }
The text was updated successfully, but these errors were encountered:
Looks like it's the same as #1656
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Actual behavior
The cache documentation states that
QuickLRU
could be used as a cache forgot
but instead it throws following TypeScript Error:Expected behavior
Documentation is up-to-date or typings are fixed
Code to reproduce
tsconfig.json
Checklist
The text was updated successfully, but these errors were encountered: