From 500712d5eaef1a75133e088e0f260842d12f3419 Mon Sep 17 00:00:00 2001 From: Danial Raza Date: Sun, 30 Mar 2025 13:45:37 +0200 Subject: [PATCH] types(ModalSubmitFields): fix `fields` type (#10816) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- 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 acee26ddb..c6b3b3e8c 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -2759,7 +2759,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;