getPackageManager.d.ts
418 Bytes
import { Maybe, PackageManager } from '../types';
/**
* Initialize the version manager with the given package manager.
*
* @param packageManagerNameOrObject
* @param packageManagerNameOrObject.global
* @param packageManagerNameOrObject.packageManager
* @returns
*/
declare function getPackageManager(packageManagerNameOrObject: Maybe<string | PackageManager>): PackageManager;
export default getPackageManager;