mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-04 17:20:09 +00:00
Merge pull request #34446 from CameronDiver/master
Dockerode: Correctly type Entrypoint fields for creation and inspection
This commit is contained in:
8
types/dockerode/index.d.ts
vendored
8
types/dockerode/index.d.ts
vendored
@@ -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]: {} };
|
||||
|
||||
Reference in New Issue
Block a user