export type APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper<Base extends APIApplicationCommandOptionBase<ApplicationCommandOptionType>, ChoiceType extends APIApplicationCommandOptionChoice> = (Base & { autocomplete: true; choices?: [];}) | (Base & { autocomplete?: false; choices?: ChoiceType[];});Type Parameters
Base extends APIApplicationCommandOptionBase<ApplicationCommandOptionType>
ChoiceType extends APIApplicationCommandOptionChoice
(Base & { autocomplete: true; choices?: [];}) | (Base & { autocomplete?: false; choices?: ChoiceType[];})