Type Alias: TypedPositionalParameters<T, CONTEXT>
TypedPositionalParameters<
T
,CONTEXT
>: [T
] extends [readonly infer E[]] ?number
extendsT
["length"
] ?PositionalParameterArray
<E
,CONTEXT
> :PositionalParameterTuple
<PositionalParametersForTuple
<T
,CONTEXT
>> :PositionalParameterTuple
<PositionalParametersForTuple
<T
,CONTEXT
>>
Definition of all positional parameters.
Required properties may vary depending on the type argument T
.
Type Parameters
• T
• CONTEXT extends CommandContext