We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a1e27f6 + 70a1740 commit f301888Copy full SHA for f301888
yargs/yargs.d.ts
@@ -57,8 +57,7 @@ declare module "yargs" {
57
58
example(command: string, description: string): Argv;
59
60
- check(func: (argv: { [key: string]: any }, aliases: { [alias: string]: string }) => boolean): Argv;
61
- check(func: (argv: { [key: string]: any }, aliases: { [alias: string]: string }) => string): Argv;
+ check(func: (argv: any, aliases: { [alias: string]: string }) => any): Argv;
62
63
boolean(key: string): Argv;
64
boolean(keys: string[]): Argv;
0 commit comments