mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
fix: options argument is optional (#45725)
Here's the declaration of the function:
/**
* Pull is a wrapper around createImage, parsing image's tags.
* @param {String} repoTag Repository tag
* @param {Object} opts Options (optional)
* @param {Function} callback Callback
* @param {Object} auth Authentication (optional)
* @return {Object} Image
*/
Docker.prototype.pull = function(repoTag, opts, callback, auth) {}
This commit is contained in:
parent
786d1ede43
commit
385d6cbe7a
2
types/dockerode/index.d.ts
vendored
2
types/dockerode/index.d.ts
vendored
@ -1353,7 +1353,7 @@ declare class Dockerode {
|
||||
getEvents(options?: Dockerode.GetEventsOptions): Promise<NodeJS.ReadableStream>;
|
||||
|
||||
pull(repoTag: string, options: {}, callback: Callback<any>, auth?: {}): Dockerode.Image;
|
||||
pull(repoTag: string, options: {}, auth?: {}): Promise<any>;
|
||||
pull(repoTag: string, options?: {}): Promise<any>;
|
||||
|
||||
run(
|
||||
image: string,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user