types(AutocompleteOption): backport fix and improve types

v13.8.1
This commit is contained in:
March 7th 2022-06-17 12:50:47 +07:00
parent 5e0eabd0e9
commit f34994b6ca

View File

@ -241,13 +241,13 @@ class CommandInteractionOptionResolver {
}
/**
* The full autocomplete option object.
* @typedef {Object} AutocompleteFocusedOption
* @property {string} name The name of the option
* @property {ApplicationCommandOptionType} type The type of the application command option
* @property {string} value The value of the option
* @property {boolean} focused Whether this option is currently in focus for autocomplete
*/
* The full autocomplete option object.
* @typedef {Object} AutocompleteFocusedOption
* @property {string} name The name of the option
* @property {ApplicationCommandOptionType} type The type of the application command option
* @property {string} value The value of the option
* @property {boolean} focused Whether this option is currently in focus for autocomplete
*/
/**
* Gets the focused option.