Skip to content

Commit

Permalink
Update index.d.ts
Browse files Browse the repository at this point in the history
Add the optional parameter `argsDescription` to description() function
  • Loading branch information
kira1928 committed Mar 14, 2019
1 parent 4542306 commit e31bb8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,10 @@ declare namespace local {
* Set the description to `str`.
*
* @param {string} str
* @param {{[key: string]: any}} argsDescription
* @return {(Command | string)}
*/
description(str: string): Command;
description(str: string, argsDescription?: {[key: string]: any}): Command;
description(): string;

/**
Expand Down

0 comments on commit e31bb8a

Please sign in to comment.