You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One thing I've noticed is that the JSDoc types for parameters which are optional aren't marked as so, so my editor tends to complain when I use dockerode with no params and Promises. Optional parameters in JSDoc are indicated with square brackets.
For example, container.inspect allows for optional opts and callback:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Open a new issue if needed.
Hi! Love
dockerode
😀One thing I've noticed is that the JSDoc types for parameters which are optional aren't marked as so, so my editor tends to complain when I use
dockerode
with no params and Promises. Optional parameters in JSDoc are indicated with square brackets.For example,
container.inspect
allows for optionalopts
andcallback
:dockerode/lib/container.js
Lines 41 to 46 in bb88194
In this example, the parameter types should be:
The text was updated successfully, but these errors were encountered: