From 38aade6f02bb5ac3c149dea65dea9cbb9583fbf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Mon, 15 Jul 2019 00:27:18 +0200 Subject: [PATCH] Fix API types for upMany & upOne --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); };