Skip to content

Commit

Permalink
Fix return type for .showHelp() (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanrhee committed Jun 21, 2022
1 parent bc489b4 commit db55316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Expand Up @@ -268,7 +268,7 @@ export interface Result<Flags extends AnyFlags> {
@param exitCode - The exit code to use. Default: `2`.
*/
showHelp: (exitCode?: number) => void;
showHelp: (exitCode?: number) => never;

/**
Show the version text and exit.
Expand Down

0 comments on commit db55316

Please sign in to comment.