Skip to main content

Type Alias: TypedPositionalParameters<T, CONTEXT>

TypedPositionalParameters<T, CONTEXT>: [T] extends [readonly infer E[]] ? number extends T["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

Defined in

packages/core/src/parameter/positional/types.ts:69