Skip to content

Commit d1d769b

Browse files
committed
fix: fix unspecified arg types
1 parent 69adc47 commit d1d769b

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

‎src/types.ts‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,7 @@ export type ParsedArgs<T extends ArgsDef = ArgsDef> = { _: string[] } & Record<
3434
}[keyof T],
3535
boolean
3636
> &
37-
Record<
38-
{
39-
[K in keyof T]: T[K] extends {} ? K : never;
40-
}[keyof T],
41-
string | boolean
42-
>;
37+
Record<string, string | boolean>;
4338

4439
// ----- Command -----
4540

0 commit comments

Comments
 (0)