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.
1 parent ff05faf commit b7b42beCopy full SHA for b7b42be
src/args.ts
@@ -30,7 +30,7 @@ export function parseArgs(rawArgs: string[], argsDef: ArgsDef): ParsedArgs {
30
const [, ...positionalArguments] = parsed._;
31
32
const parsedArgsProxy = new Proxy(parsed, {
33
- get(target: ParsedArgs, prop: string) {
+ get(target: ParsedArgs<any>, prop: string) {
34
return target[prop] ?? target[camelCase(prop)] ?? target[kebabCase(prop)];
35
},
36
});
0 commit comments