Type Alias: TypedPositionalParameter<T, CONTEXT>
TypedPositionalParameter<
T
,CONTEXT
>:undefined
extendsT
?OptionalPositionalParameter
<NonNullable
<T
>,CONTEXT
> :RequiredPositionalParameter
<T
,CONTEXT
>
Definition of a positional parameter that will eventually be parsed to an argument.
Required properties may vary depending on the type argument T
.
Type Parameters
• T
• CONTEXT extends CommandContext
= CommandContext