Improve types and remove async

This commit is contained in:
Hans Ott 2025-11-03 11:26:10 +01:00
parent 49d31049ac
commit ad9551ca6d
6 changed files with 14 additions and 7 deletions

View file

@ -41,7 +41,7 @@ export function createPnpxPackageManager() {
/**
* @param {string[]} args
* @param {boolean} isPnpx
* @returns {Promise<import("../npm/dependencyScanner/commandArgumentScanner.js").ScanResult[]>}
* @returns {ReturnType<import("../currentPackageManager.js").PackageManager["getDependencyUpdatesForCommand"]>}
*/
function getDependencyUpdatesForCommand(args, isPnpx) {
if (isPnpx) {