commander 2.14.0 → 2.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,4 +1,9 @@
1
1
 
2
+ 2.14.1 / 2018-02-07
3
+ ==================
4
+
5
+ * Fix typing of help function
6
+
2
7
  2.14.0 / 2018-02-05
3
8
  ==================
4
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "commander",
3
- "version": "2.14.0",
3
+ "version": "2.14.1",
4
4
  "description": "the complete solution for node.js command-line programs",
5
5
  "keywords": [
6
6
  "commander",
@@ -271,8 +271,11 @@ declare namespace local {
271
271
  */
272
272
  outputHelp(cb?: (str: string) => string): void;
273
273
 
274
- /** Output help information and exit. */
275
- help(): void;
274
+ /** Output help information and exit.
275
+ *
276
+ * @param {(str: string) => string} [cb]
277
+ */
278
+ help(cb?: (str: string) => string): void;
276
279
  }
277
280
 
278
281
  }