import { CommonOptions , run } from "./common" ; export interface InstallOptions extends CommonOptions { packages ? : string [ ] ; packageLockOnly ? : boolean ; production ? : boolean ; } const defaultOptions = { packageLockOnly : false , } ; export function install ( options ? ) { const { packages , ... finalOpts } = { ... defaultOptions , ... options } ; return run ( "install" , finalOpts , packages ) ; }