mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
docs(ModalComponentResolver): correct getTextInputValue return type (#11128)
This commit is contained in:
@@ -104,7 +104,7 @@ class ModalComponentResolver {
|
|||||||
* Gets the value of a text input component
|
* Gets the value of a text input component
|
||||||
*
|
*
|
||||||
* @param {string} customId The custom id of the text input component
|
* @param {string} customId The custom id of the text input component
|
||||||
* @returns {?string}
|
* @returns {string}
|
||||||
*/
|
*/
|
||||||
getTextInputValue(customId) {
|
getTextInputValue(customId) {
|
||||||
return this._getTypedComponent(customId, [ComponentType.TextInput]).value;
|
return this._getTypedComponent(customId, [ComponentType.TextInput]).value;
|
||||||
|
|||||||
Reference in New Issue
Block a user