Skip to content

Commit 1a6dba5

Browse files
authored
Clarify deprecated routine (#2427)
1 parent bd4ae26 commit 1a6dba5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

typings/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,7 @@ export class Command {
10441044
*/
10451045
outputHelp(context?: HelpContext): void;
10461046
/** @deprecated since v7 */
1047-
outputHelp(cb?: (str: string) => string): void;
1047+
outputHelp(cb: (str: string) => string): void;
10481048

10491049
/**
10501050
* Return command help documentation.
@@ -1071,7 +1071,7 @@ export class Command {
10711071
*/
10721072
help(context?: HelpContext): never;
10731073
/** @deprecated since v7 */
1074-
help(cb?: (str: string) => string): never;
1074+
help(cb: (str: string) => string): never;
10751075

10761076
/**
10771077
* Add additional text to be displayed with the built-in help.

0 commit comments

Comments
 (0)