mirror of
https://github.com/danbulant/docker-compose
synced 2026-05-20 04:48:36 +00:00
Fix API types for upMany & upOne
This commit is contained in:
parent
afc95c16f1
commit
38aade6f02
1 changed files with 2 additions and 2 deletions
|
|
@ -112,11 +112,11 @@ export const upAll = function (options?: IDockerComposeOptions): Promise<IDocker
|
|||
return execCompose('up', [ '-d' ], options);
|
||||
};
|
||||
|
||||
export const upMany = function (services, options?: IDockerComposeOptions): Promise<IDockerComposeResult> {
|
||||
export const upMany = function (services: string[], options?: IDockerComposeOptions): Promise<IDockerComposeResult> {
|
||||
return execCompose('up', [ '-d' ].concat(services), options);
|
||||
};
|
||||
|
||||
export const upOne = function (service, options?: IDockerComposeOptions): Promise<IDockerComposeResult> {
|
||||
export const upOne = function (service: string, options?: IDockerComposeOptions): Promise<IDockerComposeResult> {
|
||||
return execCompose('up', [ '-d', service ], options);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue