diff --git a/src/index.ts b/src/index.ts index 76b65a8..8b98325 100644 --- a/src/index.ts +++ b/src/index.ts @@ -112,11 +112,11 @@ export const upAll = function (options?: IDockerComposeOptions): Promise { +export const upMany = function (services: string[], options?: IDockerComposeOptions): Promise { return execCompose('up', [ '-d' ].concat(services), options); }; -export const upOne = function (service, options?: IDockerComposeOptions): Promise { +export const upOne = function (service: string, options?: IDockerComposeOptions): Promise { return execCompose('up', [ '-d', service ], options); };