@pumpkin-plugins/docs API / commands / CommandArgumentValues
Type Alias: CommandArgumentValues<Arguments>
CommandArgumentValues<
Arguments> = { readonly [Argument in Arguments[number] as Argument["name"]]: Argument extends { type: "integer" | "double" } ? number : Argument extends { type: "players" } ? readonly CommandPlayerReference[] : string }
Defined in: tools/docs/src/commands.ts:65
Values inferred for a command's declared arguments.
Type Parameters
Arguments
Arguments extends readonly CommandArgumentSpec[]