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
2 people authored and ngbrown committed Jul 11, 2020
1 parent 1f6ac99 commit f67742e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/dockerode/index.d.ts
Original file line number Diff line number Diff line change
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 f67742e

Please sign in to comment.