Skip to content
Myr

Update index.d.ts

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

Add the optional parameter `argsDescription` to description() function

authored by kira1928 · committed by kira1928 · parent 4542306 · Browse files · 1 file+2 added−1 removed
This commit

State

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

Diff stats

1 file+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:typings/index.d.ts+2 added-1 removed
224 unmodified lines
225 /**226 * Set the description to `str`.227 *228 * @param {string} str229 * @param {{[key: string]: any}} argsDescription230 * @return {(Command | string)}231 */231 description(str: string): Command;232 description(str: string, argsDescription?: {[key: string]: any}): Command;233 description(): string;234235 /**236 * Set an alias for the command.
74 unmodified lines