From 2dee3225368ef7dde91eab3be4b983bd56c5f4b3 Mon Sep 17 00:00:00 2001 From: Danial Raza Date: Tue, 25 Mar 2025 23:24:44 +0100 Subject: [PATCH] types(ModalSubmitFields): fix `fields` type --- packages/discord.js/typings/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/discord.js/typings/index.d.ts b/packages/discord.js/typings/index.d.ts index 59923cb98780..58d20189acfc 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -2376,7 +2376,7 @@ export interface ActionRowModalData { export class ModalSubmitFields { private constructor(components: readonly (readonly ModalActionRowComponent[])[]); public components: ActionRowModalData[]; - public fields: Collection; + public fields: Collection; public getField(customId: string, type: Type): { type: Type } & TextInputModalData; public getField(customId: string, type?: ComponentType): TextInputModalData; public getTextInputValue(customId: string): string;