From f510b5ffabfb22f634876e27e5316db36f9c80b4 Mon Sep 17 00:00:00 2001 From: Naiyar <137700126+imnaiyar@users.noreply.github.com> Date: Wed, 1 Oct 2025 23:39:54 +0530 Subject: [PATCH] docs(ModalComponentResolver): correct getTextInputValue return type (#11128) --- packages/discord.js/src/structures/ModalComponentResolver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/discord.js/src/structures/ModalComponentResolver.js b/packages/discord.js/src/structures/ModalComponentResolver.js index 149d14f92..3991316cd 100644 --- a/packages/discord.js/src/structures/ModalComponentResolver.js +++ b/packages/discord.js/src/structures/ModalComponentResolver.js @@ -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;