Skip to content
Myr

Revert "Fix version() parameter type"

Before adoption: this commit came in with the history the project adopted, so no landing records it.

This reverts commit e8bea4aedd750418d094591d63699010f5c7b623.

authored by Wee Bit · committed by Abe Tomoaki · parent 9c38a95 · Browse files · 2 files+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:lib/command.js+1 added-1 removed
1807 unmodified lines
1808 * which will print the version number when passed.1809 *1810 * You can optionally supply the flags and description to override the defaults.1811 *1812 * @param {string} [str]1812 * @param {string} str1813 * @param {string} [flags]1814 * @param {string} [description]1815 * @return {this | string} `this` command for chaining, or version string if no arguments1816 */
384 unmodified lines
modified:typings/index.d.ts+1 added-1 removed
291 unmodified lines
292 * which will print the version number when passed.293 *294 * You can optionally supply the flags and description to override the defaults.295 */296 version(str?: string, flags?: string, description?: string): this;296 version(str: string, flags?: string, description?: string): this;297298 /**299 * Define a command, implemented using an action handler.300 *
589 unmodified lines