Skip to content

Commit

Permalink
Use correct data structures for Config and Options in IPAM definition (
Browse files Browse the repository at this point in the history
…DefinitelyTyped#45441)

Co-authored-by: Jasper Jansen <jansen@voltolabs.com>
  • Loading branch information
digijap and Jasper Jansen committed Jun 12, 2020
1 parent 7f7d42f commit f3227e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/dockerode/index.d.ts
Expand Up @@ -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 */

Expand Down

0 comments on commit f3227e8

Please sign in to comment.