Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
c4spar committed Sep 13, 2023
1 parent 31d0ffa commit ca696f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions command/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1237,7 +1237,7 @@ export class Command<
TRequired extends OptionOptions["required"] = undefined,
TCollect extends OptionOptions["collect"] = undefined,
TConflicts extends OptionOptions["conflicts"] = undefined,
TDefaultValue = undefined,
const TDefaultValue = undefined,
TMappedValue = undefined,
>(
flags: TFlags,
Expand Down Expand Up @@ -1304,7 +1304,7 @@ export class Command<
TCommandOptions,
Merge<TParentCommandTypes, Merge<TCommandGlobalTypes, TCommandTypes>>,
undefined extends TConflicts ? TRequired : false,
TDefault
TDefaultValue
>,
TMappedGlobalOptions extends MapValue<
TGlobalOptions,
Expand All @@ -1314,7 +1314,7 @@ export class Command<
TRequired extends OptionOptions["required"] = undefined,
TCollect extends OptionOptions["collect"] = undefined,
TConflicts extends OptionOptions["conflicts"] = undefined,
TDefault = undefined,
const TDefaultValue = undefined,
TMappedValue = undefined,
>(
flags: TFlags,
Expand All @@ -1335,7 +1335,7 @@ export class Command<
>
& {
global: true;
default?: DefaultValue<TDefault>;
default?: DefaultValue<TDefaultValue>;
required?: TRequired;
collect?: TCollect;
value?: OptionValueHandler<
Expand Down

0 comments on commit ca696f8

Please sign in to comment.