From f3227e802f6bf0bafdaf31a8474fa4b750bd45e6 Mon Sep 17 00:00:00 2001 From: Jasper Date: Fri, 12 Jun 2020 20:01:44 +0200 Subject: [PATCH] Use correct data structures for Config and Options in IPAM definition (#45441) Co-authored-by: Jasper Jansen --- types/dockerode/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/dockerode/index.d.ts b/types/dockerode/index.d.ts index 7ca0293c9f7cbe..65cf589ef015ad 100644 --- a/types/dockerode/index.d.ts +++ b/types/dockerode/index.d.ts @@ -431,8 +431,8 @@ declare namespace Dockerode { /* tslint:disable:interface-name */ interface IPAM { Driver: string; - Config?: { [key: string]: string }; - Options?: Array<{ [key: string]: string }>; + Config?: Array<{[key: string]: string }>; + Options?: { [key: string]: string }; } /* tslint:enable:interface-name */