mirror of
https://github.com/pnpm/pnpm.git
synced 2026-03-29 12:31:52 -04:00
fix: types error in npm-resolver
This commit is contained in:
@@ -86,7 +86,7 @@ export function createNpmResolver (
|
||||
cacheKey: (...args) => JSON.stringify(args),
|
||||
maxAge: 1000 * 20, // 20 seconds
|
||||
})
|
||||
const metaCache = new LRU({
|
||||
const metaCache = new LRU<string, PackageMeta>({
|
||||
max: 10000,
|
||||
ttl: 120 * 1000, // 2 minutes
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user