Alan Agius 797c652eb5 refactor(@angular/cli): clean up package-metadata retrieval logic
With this change we clean up the package-metadata retrieval logic and types by using public `@types/` packages.

Also, we lazily require `pacote` since this has a large set to dependencies which slows down module resolution.
2022-03-24 18:00:31 +01:00

16 lines
445 B
TypeScript

/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
declare module 'npm-pick-manifest' {
function pickManifest(
metadata: import('./utilities/package-metadata').PackageMetadata,
selector: string,
): import('./utilities/package-metadata').PackageManifest;
export = pickManifest;
}