mirror of
https://github.com/discordjs/discord.js.git
synced 2026-09-18 01:07:26 +00:00
types(ModalBuilder): fix constructor typings (#8690)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -621,7 +621,7 @@ export class SelectMenuOptionBuilder extends BuildersSelectMenuOption {
|
||||
}
|
||||
|
||||
export class ModalBuilder extends BuildersModal {
|
||||
public constructor(data?: Partial<ModalComponentData> | Partial<APIModalComponent>);
|
||||
public constructor(data?: Partial<ModalComponentData> | Partial<APIModalInteractionResponseCallbackData>);
|
||||
public static from(other: JSONEncodable<APIModalComponent> | APIModalComponent): ModalBuilder;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user