Skip to content

Commit

Permalink
fix: fix unspecified arg types
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Apr 3, 2023
1 parent 69adc47 commit d1d769b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,7 @@ export type ParsedArgs<T extends ArgsDef = ArgsDef> = { _: string[] } & Record<
}[keyof T],
boolean
> &
Record<
{
[K in keyof T]: T[K] extends {} ? K : never;
}[keyof T],
string | boolean
>;
Record<string, string | boolean>;

// ----- Command -----

Expand Down

0 comments on commit d1d769b

Please sign in to comment.