docs(ModalComponentResolver): correct getTextInputValue return type (#11128)

This commit is contained in:
Naiyar
2025-10-01 23:39:54 +05:30
committed by GitHub
parent 1c5674d9b2
commit f510b5ffab

View File

@@ -104,7 +104,7 @@ class ModalComponentResolver {
* Gets the value of a text input component
*
* @param {string} customId The custom id of the text input component
* @returns {?string}
* @returns {string}
*/
getTextInputValue(customId) {
return this._getTypedComponent(customId, [ComponentType.TextInput]).value;