Skip to content

Commit

Permalink
chore: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Mar 28, 2023
1 parent ff05faf commit b7b42be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/args.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function parseArgs(rawArgs: string[], argsDef: ArgsDef): ParsedArgs {
const [, ...positionalArguments] = parsed._;

const parsedArgsProxy = new Proxy(parsed, {
get(target: ParsedArgs, prop: string) {
get(target: ParsedArgs<any>, prop: string) {
return target[prop] ?? target[camelCase(prop)] ?? target[kebabCase(prop)];
},
});
Expand Down

0 comments on commit b7b42be

Please sign in to comment.