From 472c31d7758f0dde4f38e625c7ae4a9ac0ea983d Mon Sep 17 00:00:00 2001 From: Cameron Diver Date: Wed, 3 Apr 2019 15:59:55 +0100 Subject: [PATCH] Correctly type Entrypoint fields for creation and inspection Signed-off-by: Cameron Diver --- types/dockerode/index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types/dockerode/index.d.ts b/types/dockerode/index.d.ts index 0581057dea..34bc22750b 100644 --- a/types/dockerode/index.d.ts +++ b/types/dockerode/index.d.ts @@ -449,7 +449,7 @@ declare namespace Dockerode { Image: string; Volumes: { [volume: string]: {} }; WorkingDir: string; - Entrypoint?: any; + Entrypoint?: string | string[]; OnBuild?: any; Labels: { [label: string]: string } }; @@ -667,7 +667,7 @@ declare namespace Dockerode { Image: string; Volumes: { [path: string]: {} }, WorkingDir: string; - Entrypoint?: any; + Entrypoint?: string | string[]; OnBuild?: any[]; Labels: { [label: string]: string } }; @@ -691,7 +691,7 @@ declare namespace Dockerode { Image: string; Volumes: { [path: string]: {} }, WorkingDir: string; - Entrypoint?: any; + Entrypoint?: string | string[]; OnBuild: any[]; Labels: { [label: string]: string } }; @@ -827,7 +827,7 @@ declare namespace Dockerode { StdinOnce?: boolean; Env?: string[]; Cmd?: string[]; - Entrypoint?: string; + Entrypoint?: string | string[]; Image?: string; Labels?: { [label: string]: string }; Volumes?: { [volume: string]: {} };