mirror of
https://github.com/pnpm/pnpm.git
synced 2026-04-14 03:58:30 -04:00
fix: use any for fetchPackage wrapper args
This commit is contained in:
@@ -1909,9 +1909,9 @@ async function installFromPnpmRegistry (
|
||||
// headless install blocks until the file is written, then finds it.
|
||||
const wrappedStoreController = {
|
||||
...opts.storeController,
|
||||
fetchPackage: async (...args: Parameters<typeof opts.storeController.fetchPackage>) => {
|
||||
fetchPackage: async (fetchOpts: any) => { // eslint-disable-line @typescript-eslint/no-explicit-any
|
||||
await fileDownloads
|
||||
return opts.storeController.fetchPackage(...args)
|
||||
return opts.storeController.fetchPackage(fetchOpts)
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user