limgen
Version:
Infrastructure as Code generator
8 lines (7 loc) • 377 B
TypeScript
/**
* Installs the specified npm packages as dependencies in the 'infrastructure' directory.
*
* @param packages - An array of package names to install.
* @returns A promise that resolves with the standard output of the npm install command, or rejects with an error.
*/
export declare function installDependencies(directory: string, packages: string[]): Promise<unknown>;