Skip to content

Commit e31bb8a

Browse files
committedMar 14, 2019
Update index.d.ts
Add the optional parameter `argsDescription` to description() function
1 parent 4542306 commit e31bb8a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎typings/index.d.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,10 @@ declare namespace local {
226226
* Set the description to `str`.
227227
*
228228
* @param {string} str
229+
* @param {{[key: string]: any}} argsDescription
229230
* @return {(Command | string)}
230231
*/
231-
description(str: string): Command;
232+
description(str: string, argsDescription?: {[key: string]: any}): Command;
232233
description(): string;
233234

234235
/**

0 commit comments

Comments
 (0)
Please sign in to comment.